diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-06-04 10:45:05 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-06-04 10:45:05 +0200 |
| commit | f1f19ed411d00dbd823ae7f09c9bb07f3e983177 (patch) | |
| tree | 44e74bb64509bf359a44299e3f50b2c90ac4f1bb /nvim/lua | |
| parent | df42824a63d9911f3dc75078bf6f7b3669167661 (diff) | |
| download | dotfiles-f1f19ed411d00dbd823ae7f09c9bb07f3e983177.tar.gz dotfiles-f1f19ed411d00dbd823ae7f09c9bb07f3e983177.tar.bz2 dotfiles-f1f19ed411d00dbd823ae7f09c9bb07f3e983177.zip | |
Neovim/conform: Formatter für 'awk' hinzugefügt
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/plugins/format.lua | 13 |
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 | ||
