diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-01-08 19:11:10 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-01-08 19:11:10 +0100 |
| commit | 08017b22536f653110ec03a4f7c0d85c44f71142 (patch) | |
| tree | 8c6fa475b34f21a31b9d8f9636a8e602c102ee9b /nvim/lua/plugins/format.lua | |
| parent | 1f2dad0be57a20bca63b251d0b22c57839a6f794 (diff) | |
| download | dotfiles-08017b22536f653110ec03a4f7c0d85c44f71142.tar.gz dotfiles-08017b22536f653110ec03a4f7c0d85c44f71142.tar.bz2 dotfiles-08017b22536f653110ec03a4f7c0d85c44f71142.zip | |
Neovim: Anweisungen für FreeBSD-Zusatz-Tools hinzugefügt
Diffstat (limited to 'nvim/lua/plugins/format.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 bdfaf03..2d6a55c 100644 --- a/nvim/lua/plugins/format.lua +++ b/nvim/lua/plugins/format.lua | |||
| @@ -3,13 +3,13 @@ return { | |||
| 3 | event = { "BufReadPre", "BufNewFile" }, | 3 | event = { "BufReadPre", "BufNewFile" }, |
| 4 | opts = { | 4 | opts = { |
| 5 | formatters_by_ft = { | 5 | formatters_by_ft = { |
| 6 | sh = { "shfmt" }, -- brew install | 6 | sh = { "shfmt" }, -- brew install, pkg install shfmt |
| 7 | bash = { "shfmt" }, | 7 | bash = { "shfmt" }, |
| 8 | python = { "ruff_format", "black" }, -- brew install ruff | 8 | python = { "ruff_format", "black" }, -- brew install ruff, pkg install ruff |
| 9 | lua = { "stylua" }, -- brew install stylua | 9 | lua = { "stylua" }, -- brew install stylua, pkg install stylua |
| 10 | typescript = { "prettierd", "prettier" }, | 10 | typescript = { "prettierd", "prettier" }, |
| 11 | javascript = { "prettierd", "prettier" }, | 11 | javascript = { "prettierd", "prettier" }, |
| 12 | json = { "jq" }, -- brew install jq | 12 | json = { "jq" }, -- brew install jq, pkg install jq |
| 13 | -- cpp = { "clang_format" }, | 13 | -- cpp = { "clang_format" }, |
| 14 | }, | 14 | }, |
| 15 | }, | 15 | }, |
