Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Missing highlight on some keywords #3

@hlbstd

Description

@hlbstd

When writing the following example, the only recognized token is the class name test, which gets properly highlighted as a type:
template<typename T> class test {};
The template, typename and class keywords are not recognized. This is true whether the class is templated or not. This is true for most c++ keywords/qualifiers such as struct, const, etc.
LspCxxHlCursorSym command yields no results for these keywords, and the LspCxxHlIgnoredSyms returns an empty list.

I am unsure whether this is an issue with LspCxxHl or the intended design for the plugin to rely for some part on the default c.vim highlight groups, in which case I assume I should modify some highlight bindings (which ones?) to better differentiate between types and keywords as it is visible in your example image.

I have some more examples of seemingly silently ignored symbols (the template parameter in my previous example is one), tell me if you want a different issue for these. I can provide my log if you're interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions