Compare commits
2 commits
9cb49f5048
...
5896233234
Author | SHA1 | Date | |
---|---|---|---|
5896233234 | |||
70276615e1 |
1 changed files with 4 additions and 2 deletions
|
@ -51,7 +51,7 @@ return {
|
|||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
python = { "black" },
|
||||
rust = { "rustfmt" },
|
||||
rust = { "rustfmt", lsp_format = "fallback" },
|
||||
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
typescript = { "prettierd", "prettier", stop_after_first = true },
|
||||
typescriptreact = { "prettierd", "prettier", stop_after_first = true },
|
||||
|
@ -63,8 +63,10 @@ return {
|
|||
toml = { "taplo", stop_after_first = true },
|
||||
yaml = { "prettierd", "prettier", stop_after_first = true },
|
||||
typst = { "typstyle" },
|
||||
svelte = { "prettier" },
|
||||
svelte = { "prettier", lsp_format = "fallback" },
|
||||
tex = { "latexindent" },
|
||||
cpp = { "clang-format", lsp_format = "fallback" },
|
||||
c = { "clang-format", lsp_format = "fallback" },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue