How can I modify company-dabbrev
to behave like other company-backends
, so I also receive words as completion candidates, that are connected with hyphens.
Asked
Active
Viewed 193 times
2

bertfred
- 1,699
- 1
- 11
- 23
1 Answers
1
I've changed company-dabbrev-char-regexp
from "\sw" to "\sw...[a-zA-Z0-9-]?+".
Now I can complete not only foobar, but also foo-bar.

bertfred
- 1,699
- 1
- 11
- 23