diff options
Diffstat (limited to 'nvim/lua/plugins/format.lua')
| -rw-r--r-- | nvim/lua/plugins/format.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua index f79f577..f80ee2d 100644 --- a/nvim/lua/plugins/format.lua +++ b/nvim/lua/plugins/format.lua | |||
| @@ -12,18 +12,18 @@ 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 | html = { "prettier" }, -- npm install -g prettier | 19 | html = { "prettier" }, -- (siehe "typescript") |
| 20 | javascript = { "prettier" }, | 20 | javascript = { "prettier" }, -- (siehe "typescript") |
| 21 | json = { "jq" }, -- brew install jq, pkg install jq | 21 | json = { "jq" }, -- brew install jq, pkg install jq |
| 22 | lua = { "stylua" }, -- brew install stylua, pkg install stylua | 22 | lua = { "stylua" }, -- brew install stylua, pkg install stylua |
| 23 | python = { "ruff_format" }, -- brew install ruff, pkg install ruff | 23 | python = { "ruff_format" }, -- brew install ruff, pkg install ruff |
| 24 | sh = { "shfmt" }, -- brew install, pkg install shfmt | 24 | sh = { "shfmt" }, -- brew install, pkg install shfmt |
| 25 | typescript = { "prettier" }, -- npm install -g prettier | 25 | typescript = { "prettier" }, -- npm install -g prettier |
| 26 | xml = { "xmllint" }, -- xmllint ist Teil von libxml2 | 26 | xml = { "xmllint" }, -- xmllint ist Teil von libxml2 (standardmäßig installiert unter MacOS; pkg install libxml2) |
| 27 | xsd = { "xmllint" }, | 27 | xsd = { "xmllint" }, |
| 28 | yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt | 28 | yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt |
| 29 | }, | 29 | }, |
