Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 5.0.0
-
None
-
Gentoo
kernel 5.10.61
-
-
26df1852d0 (qt-creator/qt-creator/master)
Description
Edit: what appears to be happening is that when language server client provides a token, but qtcreator doesn't have that token associated to creator highlighting type(such as C_KEYWORD), default text bold/italic qualifiers stick to the token. And then colour is still applied normally. Types are applied at languageclient/semantichighlightsupport.cpp:302
For some reason only font and colour are applied to tokens processed by language client highlighter(recently added). Bold and italic qualifiers are just ignored. As you can see i have types as bold purple in my theme, and indeed Kate highlighting applies properly in bold, but symbols parsed by rust-analyzer are not bold. For example u32 is a primitive type and not marked for highlighting, while f16 and Vec are actual types.