diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-07-01 08:34:29 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-07-01 08:34:29 +0200 |
| commit | 82bf7d3512bb7fb96c305bc5d1ea86ea9f4c5e5b (patch) | |
| tree | 29941b6953f6ac556ef806d4e8f7c8cb2e50dc4f /nvim/lua | |
| parent | 2a21c3504109ca0426e61bab3da12e7d68682bc2 (diff) | |
| download | dotfiles-82bf7d3512bb7fb96c305bc5d1ea86ea9f4c5e5b.tar.gz dotfiles-82bf7d3512bb7fb96c305bc5d1ea86ea9f4c5e5b.tar.bz2 dotfiles-82bf7d3512bb7fb96c305bc5d1ea86ea9f4c5e5b.zip | |
Neovim: Installationsanweisungen für verschiedene Formater ergänzt
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/plugins/format.lua | 8 |
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 | }, |
