Fix #4098 - Clear LSP data when servers crash

This commit is contained in:
w0rp 2022-03-02 16:51:50 +00:00
parent 66b2d994a1
commit b42153eb17
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 1 additions and 0 deletions

View File

@ -467,6 +467,7 @@ function! ale#lsp#StartProgram(conn_id, executable, command) abort
let l:options = {
\ 'mode': 'raw',
\ 'out_cb': {_, message -> ale#lsp#HandleMessage(a:conn_id, message)},
\ 'exit_cb': { -> ale#lsp#Stop(a:conn_id) },
\}
if has('win32')