Skip to content

Commit 44045d1

Browse files
committed
Use ts_ls instead of tsserver
1 parent 920e171 commit 44045d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/kickstart/plugins/autoformat.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ return {
4646

4747
-- Tsserver usually works poorly. Sorry you work with bad languages
4848
-- You can remove this line if you know what you're doing :)
49-
-- if client.name == 'tsserver' then
50-
-- return
51-
-- end
49+
if client.name == 'ts_ls' then
50+
return
51+
end
5252

5353
-- Create an autocmd that will run *before* we save the buffer.
5454
-- Run the formatting command for the LSP that has just attached.

0 commit comments

Comments
 (0)