Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding cquery's semantic highlighting of a specific keyword? #73

Open
zurdmont opened this issue Mar 26, 2020 · 0 comments
Open

Overriding cquery's semantic highlighting of a specific keyword? #73

zurdmont opened this issue Mar 26, 2020 · 0 comments

Comments

@zurdmont
Copy link

Say I've typedef'd static to static_global and I want it to use my keyword color. I'd do something like...

(font-lock-add-keywords 'c-mode
'(("static_global" . 'font-lock-keyword-face)))

This works, until I enable cquery's semantic highlighting which seems to override it with a different color. I don't want to outright get rid of cquery's highlighting, but is there a way for me to override it in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant