mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 13:14:29 +08:00
Fix #4098 - Clear LSP data when servers crash
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user