aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/format.lua
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-03-25 16:53:16 +0100
committerThomas Schmucker <ts@its1.de>2026-03-25 16:53:16 +0100
commita02ec9dde93be19ed0a3a70666050710c6ab5bc7 (patch)
treeacdaf941cce3a2431e86040c2fd9513423687b21 /nvim/lua/plugins/format.lua
parent62848bb613ca739767b8f8cf45645389b2230a5f (diff)
downloaddotfiles-a02ec9dde93be19ed0a3a70666050710c6ab5bc7.tar.gz
dotfiles-a02ec9dde93be19ed0a3a70666050710c6ab5bc7.tar.bz2
dotfiles-a02ec9dde93be19ed0a3a70666050710c6ab5bc7.zip
Neovim: "prettier" reicht als Formatter
Diffstat (limited to 'nvim/lua/plugins/format.lua')
-rw-r--r--nvim/lua/plugins/format.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua
index 9010657..262347f 100644
--- a/nvim/lua/plugins/format.lua
+++ b/nvim/lua/plugins/format.lua
@@ -15,12 +15,12 @@ return {
15 }, 15 },
16 opts = { 16 opts = {
17 formatters_by_ft = { 17 formatters_by_ft = {
18 sh = { "shfmt" }, -- brew install, pkg install shfmt 18 sh = { "shfmt" }, -- brew install, pkg install shfmt
19 bash = { "shfmt" }, 19 bash = { "shfmt" },
20 python = { "ruff_format", "black" }, -- brew install ruff, pkg install ruff 20 python = { "ruff_format" }, -- brew install ruff, pkg install ruff
21 lua = { "stylua" }, -- brew install stylua, pkg install stylua 21 lua = { "stylua" }, -- brew install stylua, pkg install stylua
22 typescript = { "prettierd", "prettier" }, 22 typescript = { "prettier" }, -- npm install -g prettier
23 javascript = { "prettierd", "prettier" }, 23 javascript = { "prettier" },
24 json = { "jq" }, -- brew install jq, pkg install jq 24 json = { "jq" }, -- brew install jq, pkg install jq
25 -- cpp = { "clang_format" }, 25 -- cpp = { "clang_format" },
26 }, 26 },