From b60108978a8683ae74b96314d847ba9592507145 Mon Sep 17 00:00:00 2001 From: ray-x Date: Fri, 18 Jun 2021 08:34:40 +1000 Subject: [PATCH] Update document regarding plugin highlight --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c12ecd..57381bf 100644 --- a/README.md +++ b/README.md @@ -284,9 +284,9 @@ require.'navigator'.setup({ | i/n | \ | next page in listview| | i/n | \ | save the modification to preview window to file| -### Colors: +### Colors/Highlight: -Set highlight GHListDark (listview) and GHTextViewDark (code view) +You can override default highlight GHListDark (listview) and GHTextViewDark (code view) e.g. @@ -295,6 +295,10 @@ hi default GHTextViewDark guifg=#e0d8f4 guibg=#332e55 hi default GHListDark guifg=#e0d8f4 guibg=#103234 ``` +There are other Lsp highlight been used in this plugin, e.g LspReferenceRead/Text/Write are used for document highlight, +LspDiagnosticsXXX are used for diagnostic. Please check highlight.lua and dochighlight.lua for more info. + + ## Dependency