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 = {}, html = {},
ts_ls = {},
cssls = {}, cssls = {},
clangd = {}, clangd = {},
pyright = {}, pyright = {},

View file

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