Closed flaamjab closed 9 months ago
Hi,
Maybe the rustOperator
should be set to Operator
. @roosta any recollection of this?
Operator
already links to Normal
, so I don't think that would solve the issue. I'm thinking linking Operator
to SrceryBrightWhite
. It gets overridden in some languages but as a general rule its supposed to be white like normal. There doesn't seem to be any reason to set the background color for the operator, and the srcery_bg
option works fine as far as I can tell with that change.
I use treesitter-context with neovim and have noticed that the background color of operator characters in the context box is wrong:
Rust.vim over at neovim repository links rustOperator to Operator which is itself linked to Normal here, which has background color set by default. So that probably explains why Rust operators in particular are colored incorrectly. I'm not sure if any other language has a similar issue, C and C++ seem to be alright.
Simply adding something like
hi! link rustOperator SrceryWhite
in rust.vim makes it all look good.So anyway, would be nice to have it tweaked. Cheers.