We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425784a commit 1aa6ebcCopy full SHA for 1aa6ebc
autoload/go/lsp.vim
@@ -1332,6 +1332,11 @@ let s:logtimer = 0
1332
function! s:debugasync(timer) abort
1333
let s:logtimer = 0
1334
1335
+ if !go#util#HasDebug('lsp')
1336
+ let s:log = []
1337
+ return
1338
+ endif
1339
+
1340
" set the timer to try again if Vim is in a state where we don't want to
1341
" change the window.
1342
let l:state = state('a')
@@ -1341,11 +1346,6 @@ function! s:debugasync(timer) abort
1346
return
1347
endif
1343
1348
1344
- if !go#util#HasDebug('lsp')
1345
- let s:log = []
- return
- endif
-
1349
try
1350
let l:winid = win_getid()
1351
0 commit comments