Closed rouge8 closed 12 months ago
Normal variables are now white. This is consistent with many of the previous language appearances. If you'd like to change this, you can change @variable
:
autocmd ColorScheme gruvbox hi! link @variable GruvboxBlue
If you'd like to know the group under the cursor so you can replace it, use :Inspect
.
enum
, typing
, and assert_never
are simply linked to @variable
and can't be distinguished from normal variables, this is a TreeSitter parser problem.
@property
should have distinguished highlighting when you pull changes. However, the group for @
in @property
is overwritten by the property group. Not sure if this is a TreeSitter or parser problem.
self
is a builtin in Python, this should now be distinguished on pull.
Here's how it looks now:
Normal variables are now white. This is consistent with many of the previous language appearances
Oh interesting. I guess I mostly used Python and Rust where variables were both blue before.
Thanks for the quick fixes in https://github.com/gruvbox-community/gruvbox/commit/bb38ea8b58994282890357a2a8f5712e15ae5f3f, that's a big improvement! For the rest I'll just have to retrain my eyes/brain
There have been some more tweaks to highlight groups, you might want to pull to make sure you're still happy with it and any customizations you made still look good, see this comment.
Summary
I updated from 2b5b1f777f0583ffb39086d6c16f39e6e37459c0 to e8b59655db4323ee3b7bfd2714e47760dcb84406 this morning and most of the Python highlighting was gone.
Given this file:
Here's what it looked like before:
Here's what it looks like after updating:
vim version
Terminal
vimrc
This won't exactly match the screenshots (no line numbers for example) but it is enough to reproduce the highlighting changes.