mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
add lsp_server_exit notification (#980)
This commit is contained in:
@@ -761,6 +761,8 @@ function! s:on_exit(server_name, id, data, event) abort
|
||||
if has_key(l:server, 'init_result')
|
||||
unlet l:server['init_result']
|
||||
endif
|
||||
call lsp#stream(1, { 'server': '$vimlsp',
|
||||
\ 'response': { 'method': '$/vimlsp/lsp_server_exit', 'params': { 'server': a:server_name } } })
|
||||
doautocmd <nomodeline> User lsp_server_exit
|
||||
endif
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user