RRethy / vim-illuminate

illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
2.14k stars 47 forks source link

How to configure highlight color just like search by word (press # / SHIFT-3 in normal mode)? #94

Closed linrongbin16 closed 2 years ago

linrongbin16 commented 2 years ago

Hi, how to configure highlight color using the color of search by word (press # / SHIFT-3 under a word in normal mode) ?

linrongbin16 commented 2 years ago

should use Search:

augroup illuminate_augroup
    autocmd!
    autocmd VimEnter * hi link illuminatedWord Search
augroup END