I have been able to set the DiagnosticInfo
and others to a custom color. However, I have not been able to do so for the “virtual text”, aka “extmarks” that provide type information (in my case) using rust-analyzer
.
So the following is working:
hi Comment ctermfg=72 guifg=#83A8C1
hi DiagnosticInfo ctermfg=72 guifg=#808080
hi DiagnosticHint ctermfg=72 guifg=#288080
I had tools that provided me with the highlight group under the cursor but have since broken with the updates to a more lua dominated set of plugins.
Has anyone been able to configure the rust-analyzer type information printed using extmarks?
Note: the treesitter command Inspect
is generally helpful but not with virtual text.