From a02ec9dde93be19ed0a3a70666050710c6ab5bc7 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 25 Mar 2026 16:53:16 +0100 Subject: Neovim: "prettier" reicht als Formatter --- nvim/lua/plugins/format.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nvim') 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 { }, opts = { formatters_by_ft = { - sh = { "shfmt" }, -- brew install, pkg install shfmt + sh = { "shfmt" }, -- brew install, pkg install shfmt bash = { "shfmt" }, - python = { "ruff_format", "black" }, -- brew install ruff, pkg install ruff - lua = { "stylua" }, -- brew install stylua, pkg install stylua - typescript = { "prettierd", "prettier" }, - javascript = { "prettierd", "prettier" }, + python = { "ruff_format" }, -- brew install ruff, pkg install ruff + lua = { "stylua" }, -- brew install stylua, pkg install stylua + typescript = { "prettier" }, -- npm install -g prettier + javascript = { "prettier" }, json = { "jq" }, -- brew install jq, pkg install jq -- cpp = { "clang_format" }, }, -- cgit v1.3