Use ts_ls instead of tsserver
This commit is contained in:
parent
920e171950
commit
44045d1fa9
|
@ -46,9 +46,9 @@ return {
|
||||||
|
|
||||||
-- Tsserver usually works poorly. Sorry you work with bad languages
|
-- Tsserver usually works poorly. Sorry you work with bad languages
|
||||||
-- You can remove this line if you know what you're doing :)
|
-- You can remove this line if you know what you're doing :)
|
||||||
-- if client.name == 'tsserver' then
|
if client.name == 'ts_ls' then
|
||||||
-- return
|
return
|
||||||
-- end
|
end
|
||||||
|
|
||||||
-- Create an autocmd that will run *before* we save the buffer.
|
-- Create an autocmd that will run *before* we save the buffer.
|
||||||
-- Run the formatting command for the LSP that has just attached.
|
-- Run the formatting command for the LSP that has just attached.
|
||||||
|
|
Loading…
Reference in New Issue