Skip to content

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

@zurdmont

Description

@zurdmont

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions