]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
fix: make lsp outline kw hl be not overrode by cursorline as well
authorshane.xb.qian <shane.qian@foxmail.com>
Mon, 28 Nov 2022 09:15:15 +0000 (17:15 +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/outline.vim

index c6384e2e1e7c851c1572cf95b384296066a77c05..82b2c571e4417874912d95e90dae5127b4648069 100644 (file)
@@ -259,7 +259,7 @@ export def OpenOutlineWindow()
     highlight default link LSPTitle Title
   endif
 
-  prop_type_add('LspOutlineHighlight', {bufnr: bufnr(), highlight: 'Search'})
+  prop_type_add('LspOutlineHighlight', {bufnr: bufnr(), highlight: 'diffchange', override: true})
 
   try
     autocmd_delete([{group: 'LSPOutline', event: '*'}])