eddyekofo94 / gruvbox-flat.nvim

Another attempt of a flat Gruvbox theme for Neovim
MIT License
243 stars 22 forks source link

Add highlight on the equals? #9

Closed zetashift closed 3 years ago

zetashift commented 3 years ago

I'm not sure what highlight group to specifiy specifically or how to find it out but I want operators like >, <, =, ==, >= etc etc. to be of color: #E78A4E (just like the VSCode theme), I am using treesitter but would like it for all filetypes if possible.

Any hints or solutions how to tackle this?

eddyekofo94 commented 3 years ago

This: TSOperator = { fg = c.fg }, -- For any operator:+, but also->and*in C. Change that colour and you'll see the difference

zetashift commented 3 years ago

How would I change that color from my config? I tried gruvbox_colors and then adding a TSOperator key/value but that didn't work.

eddyekofo94 commented 3 years ago

@zetashift I am not sure my guessing would be highlight TSOperator ctermfg=NONE ctermbg=NONE guifg=#E78A4E guibg=NONE

zetashift commented 3 years ago

I saw that the highlight got added by your PR, thanks a lot! :D