Skip to content

Commit f3f0b05

Browse files
committed
Fix dense-analysis#4935 - Send tsserver messsages to tsserver in Neovim
1 parent add5382 commit f3f0b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ale/lsp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ function! ale#lsp#Send(conn_id, message) abort
706706
throw 'LSP server not initialized yet!'
707707
endif
708708

709-
if g:ale_use_neovim_lsp_api
709+
if g:ale_use_neovim_lsp_api && !l:conn.is_tsserver
710710
return luaeval('require("ale.lsp").send_message(_A)', {
711711
\ 'client_id': l:conn.client_id,
712712
\ 'is_notification': a:message[0] == 1 ? v:true : v:false,

0 commit comments

Comments
 (0)