diff options
author | w0rp <devw0rp@gmail.com> | 2022-03-02 16:51:50 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2022-03-02 16:51:50 +0000 |
commit | b42153eb1786fbff1c926e60c23ba82b0108f0cc (patch) | |
tree | 7a2785038b5fcadf033614bca6b520e23b63dc3a | |
parent | 66b2d994a153990bee93d087c798c82931cdaad5 (diff) | |
download | ale-b42153eb1786fbff1c926e60c23ba82b0108f0cc.zip |
Fix #4098 - Clear LSP data when servers crash
-rw-r--r-- | autoload/ale/lsp.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/lsp.vim b/autoload/ale/lsp.vim index 02723f56..a5c9dff9 100644 --- a/autoload/ale/lsp.vim +++ b/autoload/ale/lsp.vim @@ -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') |