We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0aeb9e5 + 5aef4ff commit 025af24Copy full SHA for 025af24
autoload/go/lsp.vim
@@ -1219,6 +1219,7 @@ function! s:highlightMatches(errorMatches, warningMatches) abort
1219
" redisplayed in an existing window: e.g. :edit,
1220
augroup vim-go-diagnostics
1221
autocmd! * <buffer>
1222
+ autocmd BufDelete <buffer> autocmd! vim-go-diagnostics * <buffer=abuf>
1223
autocmd BufWinEnter <buffer> nested call s:highlightMatches(b:go_diagnostic_matches.errors, b:go_diagnostic_matches.warnings)
1224
augroup end
1225
endfunction
0 commit comments