mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 2025-03-30
Update 2025-03-08 Update 2025-03-09 Update 2025-03-10 Update 2025-03-12 Update 2025-03-15 Update 2025-03-16 Update 2025-03-17 Update 2025-03-18 Update 2025-03-21 Update 2025-03-23 Update 2025-03-27 Update 2025-03-28 Update 2025-03-30
This commit is contained in:
@@ -15,27 +15,28 @@ return {
|
||||
},
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
bash = { "shfmt" },
|
||||
c = { "clang-format" },
|
||||
cmake = { "cmake_format" },
|
||||
cpp = { "clang-format" },
|
||||
css = { "prettier" },
|
||||
scss = { "prettier" },
|
||||
python = { "ruff_format", "ruff_fix", "ruff_organize_imports", "docformatter" },
|
||||
go = { "goimports", "gofmt" },
|
||||
html = { "djlint", "rustywind" },
|
||||
htmldjango = { "djlint", "rustywind" },
|
||||
javascript = js,
|
||||
javascriptreact = js,
|
||||
json = { "jq" },
|
||||
lua = { "stylua" },
|
||||
markdown = { "cbfmt", "markdownlint", "markdown-toc" },
|
||||
python = { "ruff_format", "ruff_fix", "ruff_organize_imports", "docformatter" },
|
||||
rust = { "rustfmt", "leptosfmt", "yew-fmt" },
|
||||
scss = { "prettier" },
|
||||
sql = { "pg_format" },
|
||||
toml = { "taplo" },
|
||||
typescript = js,
|
||||
typescriptreact = js,
|
||||
markdown = { "cbfmt", "markdownlint", "markdown-toc" },
|
||||
vimwiki = { "cbfmt", "markdownlint", "markdown-toc" },
|
||||
json = { "jq" },
|
||||
c = { "clang-format" },
|
||||
toml = { "taplo" },
|
||||
cpp = { "clang-format" },
|
||||
cmake = { "cmake_format" },
|
||||
htmldjango = { "djlint", "rustywind" },
|
||||
html = { "djlint", "rustywind" },
|
||||
typst = { "typstyle" },
|
||||
rust = { "rustfmt", "leptosfmt", "yew-fmt" },
|
||||
sql = { "pg_format" },
|
||||
vimwiki = { "cbfmt", "markdownlint", "markdown-toc" },
|
||||
yaml = { "yamlfmt" },
|
||||
["_"] = { "trim_whitespace" },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user