From: Indelog <maxime@indelog.fr>
Date: Fri, 12 Nov 2021 10:29:50 +0000 (+0100)
Subject: Fix : replace g:LSP_Hover_Reply_In_Preview by g:LSP_Hover_In_Preview
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6ee77fa1c4536d04f93127f9901d7cd7563610dd;p=vim-lsp.git

Fix : replace g:LSP_Hover_Reply_In_Preview by g:LSP_Hover_In_Preview
---

diff --git a/autoload/handlers.vim b/autoload/handlers.vim
index 665eb69..d5e91c8 100644
--- a/autoload/handlers.vim
+++ b/autoload/handlers.vim
@@ -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
diff --git a/plugin/lsp.vim b/plugin/lsp.vim
index 5bfa084..f7021fe 100644
--- a/plugin/lsp.vim
+++ b/plugin/lsp.vim
@@ -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