aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvim/lua/plugins/format.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua
index b8b0256..9b1309a 100644
--- a/nvim/lua/plugins/format.lua
+++ b/nvim/lua/plugins/format.lua
@@ -15,17 +15,18 @@ return {
15 }, 15 },
16 opts = { 16 opts = {
17 formatters_by_ft = { 17 formatters_by_ft = {
18 awk = { "gawk" }, -- pkg install gawk
18 bash = { "shfmt" }, 19 bash = { "shfmt" },
19 -- cpp = { "clang_format" }, 20 -- cpp = { "clang_format" },
20 javascript = { "prettier" }, 21 javascript = { "prettier" },
21 json = { "jq" }, -- brew install jq, pkg install jq 22 json = { "jq" }, -- brew install jq, pkg install jq
22 lua = { "stylua" }, -- brew install stylua, pkg install stylua 23 lua = { "stylua" }, -- brew install stylua, pkg install stylua
23 python = { "ruff_format" }, -- brew install ruff, pkg install ruff 24 python = { "ruff_format" }, -- brew install ruff, pkg install ruff
24 sh = { "shfmt" }, -- brew install, pkg install shfmt 25 sh = { "shfmt" }, -- brew install, pkg install shfmt
25 typescript = { "prettier" }, -- npm install -g prettier 26 typescript = { "prettier" }, -- npm install -g prettier
26 xml = { "xmllint" }, -- xmllint ist Teil von libxml2 27 xml = { "xmllint" }, -- xmllint ist Teil von libxml2
27 xsd = { "xmllint" }, 28 xsd = { "xmllint" },
28 yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt 29 yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt
29 }, 30 },
30 }, 31 },
31 32