olivercederborg / poimandres.nvim

Poimandres colorscheme for Neovim written in Lua
322 stars 28 forks source link

treesitter highlighting variables #30

Open TJohn0312 opened 1 year ago

TJohn0312 commented 1 year ago

When using / search it highlights selected words with blue2. but it changes to a darker color for white text and teal1, to make things easier to see. however I have vim-illuminate highlighting other uses of the word under the cursor. It highlights in blue2, and doesn't change for lighter text. any suggestions on how to implement this, or should i just change the color to a grey

kayuxx commented 10 months ago

@TJohn0312 you can use the neovim api to set such an highlight using vim.api.nvim_set_hl. ex:

local set_hl = vim.api.nvim_set_hl
set_hl(0, '@string', {fg = "red"})

or just use the vim :hi cmd

:hi @string guifg=red