When the LPS is turned on, the color scheme breaks with some lexemes displayed in default blue Kate scheme and some breaking altogether displaying in default colors but customized style (bold, italics and so on).
What should I do to have control over my color scheme? I guess, turning off coloring for some lexemes by LSP should solve it, but I don’t know how.
Disable semantic highlighting in lsp settings? LSP picks up colors from the scheme, so for e.g., it will use “Function” for coloring functions
No, I still want to have some highlighting, specifically function and constants. But for some reason Rust LSP behaves incorrectly: it highlights scopes the same way it does keywords, only the double colons retain the intended coloring; and also it overrides Kate lexer’s “Definition” style, highlighting, for example, function names in headers as “Function”. The latter is not important at all, but seems to be a bug of sorts; the former indeed is important.
The behavior of highlighting scopes as keywords is very apparently buggy: when you change the color of “Keywords” style, it changes immediately for the real keywords, and updates for scopes only after reloading the LSP or reloading Kate and waiting a bit.