Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround to make company-etags work
- Loading branch information
Chen Bin
committed
Dec 8, 2015
1 parent
5fa89fd
commit 2ff305c
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2ff305c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
company-etags
? Does etags index CSS classes?2ff305c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the root cause is
(not (company-in-string-or-comment))
in company-etags.el, web-mode doesn't matter.2ff305c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose I can add an option
company-etags-everywhere
, similar tocompany-dabbrev-code-everywhere
.2ff305c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, please, or just a list `(html-mode web-mode php-mode)
2ff305c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
2ff305c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, thank you.