]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
fix: make lsp hl not be overrode by cursorline
authorshane.xb.qian <shane.qian@foxmail.com>
Mon, 28 Nov 2022 08:53:17 +0000 (16:53 +0800)
committershane.xb.qian <shane.qian@foxmail.com>
Wed, 21 Dec 2022 13:52:47 +0000 (21:52 +0800)
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
autoload/lsp/lsp.vim

index c1cfce051a20e7879046689b55266e952264db21..324889afe54459b2b4698db879defbfa9e364361 100644 (file)
@@ -41,9 +41,9 @@ def LspInitOnce()
                {name: 'LspDiagHint', text: 'H>', texthl: 'Question',
                                                linehl: 'MatchParen'}])
 
-  prop_type_add('LspTextRef', {highlight: 'Search'})
-  prop_type_add('LspReadRef', {highlight: 'DiffChange'})
-  prop_type_add('LspWriteRef', {highlight: 'DiffDelete'})
+  prop_type_add('LspTextRef', {highlight: 'ErrorMsg', override: true})
+  prop_type_add('LspReadRef', {highlight: 'DiffChange', override: true})
+  prop_type_add('LspWriteRef', {highlight: 'DiffDelete', override: true})
 
   inlayhints.InitOnce()