Skip to content

Highlight rest of the LSP semantic tokens

Jake Leahy requested to merge amadan/kate:feat/more-semantic-highlights into master

Noticed in #108 (closed) that the semantic highlighting for the LSP client didn't highlight some code which I tracked down to the SemanticTokensLegend not having mappings for all the tokens in the spec.

Before

image

After

image

The small refactor to use a loop to create the fixedAttrs was so I could quickly test different attributes without needing to change blocks of code. I can undo it and make the additions look like the old code is that wanted

Merge request reports