mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-20 10:02:57 +08:00
Fix #4935 - Send tsserver messsages to tsserver in Neovim
This commit is contained in:
@@ -706,7 +706,7 @@ function! ale#lsp#Send(conn_id, message) abort
|
||||
throw 'LSP server not initialized yet!'
|
||||
endif
|
||||
|
||||
if g:ale_use_neovim_lsp_api
|
||||
if g:ale_use_neovim_lsp_api && !l:conn.is_tsserver
|
||||
return luaeval('require("ale.lsp").send_message(_A)', {
|
||||
\ 'client_id': l:conn.client_id,
|
||||
\ 'is_notification': a:message[0] == 1 ? v:true : v:false,
|
||||
|
||||
Reference in New Issue
Block a user