2

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.

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.