From 6ee77fa1c4536d04f93127f9901d7cd7563610dd Mon Sep 17 00:00:00 2001 From: Indelog Date: Fri, 12 Nov 2021 11:29:50 +0100 Subject: [PATCH] Fix : replace g:LSP_Hover_Reply_In_Preview by g:LSP_Hover_In_Preview --- autoload/handlers.vim | 2 +- plugin/lsp.vim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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, req: dict, reply: dict): 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 -- 2.48.1