mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 13:34:46 +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 = {
|
let l:options = {
|
||||||
\ 'mode': 'raw',
|
\ 'mode': 'raw',
|
||||||
\ 'out_cb': {_, message -> ale#lsp#HandleMessage(a:conn_id, message)},
|
\ 'out_cb': {_, message -> ale#lsp#HandleMessage(a:conn_id, message)},
|
||||||
|
\ 'exit_cb': { -> ale#lsp#Stop(a:conn_id) },
|
||||||
\}
|
\}
|
||||||
|
|
||||||
if has('win32')
|
if has('win32')
|
||||||
|
|||||||
Reference in New Issue
Block a user