Closed AlejandroSuero closed 2 months ago
A little preview of adding more distinction (the palette and colours chosen can be change):
If you want me to do a PR about it @scottmckendry, with a more defined colours to use for the different scenarios, like for example this minimal change:
I started doing a little override function to showcase what I meant for that, as maybe confusing having a highlights
entry on theme
.
The function will give you the ability to use the colour palette instead of hard coding colours.
Thanks for raising this @AlejandroSuero !
You aren't the first one to ask for this, and I think you're right, I think we should add in a couple of new defaults to separate booleans, variables, properties etc.
I like the look of this one here (to start):
Are you happy to open another PR to get this rolling?
@scottmckendry yeah, I can do it. Should we keep this issue open? (to include closes # (issue) or not)
Question or Suggestion
I am currently using astrotheme but I discovered this theme and I loved it, but the problem is, that all seems the same colour, hard to distinguish the type of variables.
cyberdream:
astrotheme:
catppuccin:
rose-pine
As you can see, booleans have their own colour and accessing a variable member as well.
The highlight groups affected in this group, using
:Inspect
in the other colorschemes, are:@boolean.lua links to Boolean
@variable.lua links to @variable
@variable.member.lua links to @property
How cyberdream is currently:
@boolean.lua links to Constant
@variable.lua links to @variable
@variable.member.lua links to @variable
In the case that this is the intended colour palette, at least exposing a function to override or add highlights would be a good start.