aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/format.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/format.lua')
-rw-r--r--nvim/lua/plugins/format.lua8
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 },