forked from github-mirrors/ale
Fix #4098 - Clear LSP data when servers crash
This commit is contained in:
parent
66b2d994a1
commit
b42153eb17
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue