You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Inspecting the symbol, I noticed its type was LspCxxHlSymField
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?
Either way, adding that line fixed the issue for me
The text was updated successfully, but these errors were encountered:
DalenPlanestrider
changed the title
C++ StructField not Higlighting with neovim LSP + suggested fix
C++ StructField not Highlighting with neovim LSP + suggested fix
Dec 6, 2021
and lastly, there's some weird stuff going on with stuff like strings inside some of my macros being highlighted as enum members or variables, but that seems to be the language server misidentifying after expanding the macro, so no changes required here
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
Inspecting the symbol, I noticed its type was LspCxxHlSymField
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?
Either way, adding that line fixed the issue for me
The text was updated successfully, but these errors were encountered: