Closed quantum-booty closed 3 years ago
For non-lsp highlighting, it is done using :h illuminatedWord
(which defaults to CursorLine
) and :h illuminatedCurWord
(which defaults to the same as illuminatedWord
). While for the lsp highlighting, it is done using the highlight groups LspReferenceText
, LspReferenceRead
, and LspReferenceWrite
.
To get inverse highlighting, you can use the inverse
attr for gui
(see :h attr-list
in the Neovim help docs) as follows:
hi illuminatedWord gui=inverse
hi LspReferenceText gui=inverse
hi LspReferenceRead gui=inverse
hi LspReferenceWrite gui=inverse
The srcery colour scheme has an inversed highlight option which looks like this:![image](https://user-images.githubusercontent.com/28958399/104380262-a32fcd00-5522-11eb-9950-6c0e7b73c5f9.png)
Whereas vim-illuminate does looks like this:![image](https://user-images.githubusercontent.com/28958399/104380301-b17de900-5522-11eb-83e3-347321c7417f.png)
Is is possible to enable this inverse highlighting with illuminate?