Skip to content

Commit c8e0fc0

Browse files
authored
Jump into explainErrorAtPoint floating window on second call (#1134)
1 parent 5fe739c commit c8e0fc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoload/LanguageClient.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,10 @@ function! LanguageClient_NCM2OnComplete(context) abort
13271327
endfunction
13281328

13291329
function! LanguageClient#explainErrorAtPoint(...) abort
1330+
if s:ShouldUseFloatWindow() && s:MoveIntoHoverPreview()
1331+
return
1332+
endif
1333+
13301334
let l:Callback = get(a:000, 1, v:null)
13311335
let l:params = {
13321336
\ 'buftype': &buftype,

0 commit comments

Comments
 (0)