aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/format.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/format.lua')
-rw-r--r--nvim/lua/plugins/format.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua
index d6942a8..31533b6 100644
--- a/nvim/lua/plugins/format.lua
+++ b/nvim/lua/plugins/format.lua
@@ -12,17 +12,17 @@ return {
12 }, 12 },
13 opts = { 13 opts = {
14 formatters_by_ft = { 14 formatters_by_ft = {
15 awk = { "gawk" }, -- pkg install gawk 15 awk = { "gawk" }, -- brew install gawk, pkg install gawk
16 bash = { "shfmt" }, 16 bash = { "shfmt" }, -- brew install shfmt, pkg install shfmt
17 c = {}, -- clangd 17 c = {}, -- clangd
18 cpp = {}, -- clangd 18 cpp = {}, -- clangd
19 javascript = { "prettier" }, 19 javascript = { "prettier" }, -- (siehe "typescript")
20 json = { "jq" }, -- brew install jq, pkg install jq 20 json = { "jq" }, -- brew install jq, pkg install jq
21 lua = { "stylua" }, -- brew install stylua, pkg install stylua 21 lua = { "stylua" }, -- brew install stylua, pkg install stylua
22 python = { "ruff_format" }, -- brew install ruff, pkg install ruff 22 python = { "ruff_format" }, -- brew install ruff, pkg install ruff
23 sh = { "shfmt" }, -- brew install, pkg install shfmt 23 sh = { "shfmt" }, -- brew install, pkg install shfmt
24 typescript = { "prettier" }, -- npm install -g prettier 24 typescript = { "prettier" }, -- npm install -g prettier
25 xml = { "xmllint" }, -- xmllint ist Teil von libxml2 25 xml = { "xmllint" }, -- xmllint ist Teil von libxml2 (standardmäßig installiert unter MacOS; pkg install libxml2)
26 xsd = { "xmllint" }, 26 xsd = { "xmllint" },
27 yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt 27 yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt
28 }, 28 },