add ts_ls and enable rustfmt again

This commit is contained in:
cscherr 2025-04-30 10:55:01 +02:00
parent 55e3a1902f
commit cebf16e11d
Signed by: cscherrNT
GPG key ID: 8E2B45BC51A27EA7
2 changed files with 3 additions and 1 deletions

View file

@ -148,6 +148,7 @@ local servers = {
},
},
html = {},
ts_ls = {},
cssls = {},
clangd = {},
pyright = {},

View file

@ -36,6 +36,7 @@ return {
end,
formatters_by_ft = {
['_'] = { 'prettier' },
rust = { 'rust-analyzer' },
lua = { 'stylua' },
json = { 'jq' },
-- rust = { 'rustfmt' }, -- does not need one with the lsp there
@ -47,7 +48,7 @@ return {
--
-- You can use a sub-list to tell conform to run *until* a formatter
-- is found.
javascript = { 'prettierd', 'prettier' },
javascript = { 'prettier' },
},
},
},