autoload/handlers.vim | 2 +- plugin/lsp.vim | 4 ++-- diff --git a/autoload/handlers.vim b/autoload/handlers.vim index 665eb69884f77fb02b360709275ae1dca2674d6a..d5e91c8cab46e72f5a60233948eddfc181f5ca02 100644 --- a/autoload/handlers.vim +++ b/autoload/handlers.vim @@ -302,7 +302,7 @@ else 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 5bfa08476d801b9647fcec5ed35a01a155ab6e0b..f7021fe7cf3a7d26d10f8f80bd24119e3d043451 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