]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Fix : replace g:LSP_Hover_Reply_In_Preview by g:LSP_Hover_In_Preview
authorIndelog <maxime@indelog.fr>
Fri, 12 Nov 2021 10:29:50 +0000 (11:29 +0100)
committerIndelog <maxime@indelog.fr>
Fri, 12 Nov 2021 10:29:50 +0000 (11:29 +0100)
autoload/handlers.vim
plugin/lsp.vim

index 665eb69884f77fb02b360709275ae1dca2674d6a..d5e91c8cab46e72f5a60233948eddfc181f5ca02 100644 (file)
@@ -302,7 +302,7 @@ def s:processHoverReply(lspserver: dict<any>, req: dict<any>, reply: dict<any>):
     ErrMsg('Error: Unsupported hover contents (' .. reply.result.contents .. ')')
     return
   endif
-  if g:LSP_Hover_Reply_In_Preview
+  if g:LSP_Hover_In_Preview
       silent! pedit HoverReply
       wincmd P
       setlocal buftype=nofile
index 5bfa08476d801b9647fcec5ed35a01a155ab6e0b..f7021fe7cf3a7d26d10f8f80bd24119e3d043451 100644 (file)
@@ -15,8 +15,8 @@ if !exists('g:LSP_Show_Signature')
   let g:LSP_Show_Signature = v:true
 endif
 
-if !exists('g:LSP_Hover_Reply_In_Preview')
-  let g:LSP_Hover_Reply_In_Preview = v:false
+if !exists('g:LSP_Hover_In_Preview')
+  let g:LSP_Hover_In_Preview = v:false
 endif
 
 augroup LSPAutoCmds