Commit 86c1f608 authored by Dmitry Gutov's avatar Dmitry Gutov

company-dabbrev-code: Look inside comments and strings when appropriate

When company-dabbrev-code-everywhere is non-nil.

Fixes #559.
parent 9476aef0
......@@ -96,7 +96,7 @@ comments or strings."
(`t (list major-mode))
(`code company-dabbrev-code-modes)
(`all `all))
t)))
(not company-dabbrev-code-everywhere))))
(ignore-case company-dabbrev-code-ignore-case)
(duplicates t)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment