add ts_ls and enable rustfmt again
This commit is contained in:
parent
55e3a1902f
commit
cebf16e11d
2 changed files with 3 additions and 1 deletions
|
@ -148,6 +148,7 @@ local servers = {
|
|||
},
|
||||
},
|
||||
html = {},
|
||||
ts_ls = {},
|
||||
cssls = {},
|
||||
clangd = {},
|
||||
pyright = {},
|
||||
|
|
|
@ -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' },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue