mirror of
https://github.com/cap153/nvim.git
synced 2026-07-16 22:16:54 +08:00
前端产物统一使用deno格式化
This commit is contained in:
parent
fea05914e5
commit
ee08df6765
1 changed files with 5 additions and 1 deletions
|
|
@ -14,11 +14,15 @@ local formatters_by_ft = {
|
||||||
python = { "isort", "black" },
|
python = { "isort", "black" },
|
||||||
rust = { "rust-analyzer", lsp_format = "fallback" },
|
rust = { "rust-analyzer", lsp_format = "fallback" },
|
||||||
toml = { "templ" },
|
toml = { "templ" },
|
||||||
html = { "djlint" },
|
|
||||||
sh = { "shfmt" },
|
sh = { "shfmt" },
|
||||||
zsh = { "shfmt" },
|
zsh = { "shfmt" },
|
||||||
|
xml = { "deno_fmt" },
|
||||||
|
yml = { "deno_fmt" },
|
||||||
|
yaml = { "deno_fmt" },
|
||||||
|
html = { "deno_fmt" },
|
||||||
typescript = { "deno_fmt" },
|
typescript = { "deno_fmt" },
|
||||||
javascript = { "deno_fmt" },
|
javascript = { "deno_fmt" },
|
||||||
|
json = { "deno_fmt" },
|
||||||
-- markdown = { "deno_fmt_markdown" },
|
-- markdown = { "deno_fmt_markdown" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue