Open zurdmont opened 4 years ago
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?
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?