aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 },