Skip to content

C++ StructField not Highlighting with neovim LSP + suggested fix #24

@DalenPlanestrider

Description

@DalenPlanestrider

I'm using neovim v0.5.0-dev+1421-ga72dfec85 and using the built in language server protocol client with the vim-lsp-cxx-highlight plugin, and noticed that struct fields are not being properly highlighted in the theme. Example below

off

Inspecting the symbol, I noticed its type was LspCxxHlSymField
type

So all I had to do was add that type to the theme, though I'm not sure if this is the best place for it, it was just by the other struct definition. There's also a separate section for LSP features, so perhaps there?
definition

Either way, adding that line fixed the issue for me
on

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