summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2026-07-05 10:50:27 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2026-07-05 10:50:27 +0200
commit9b830eafbe56128496a37ff9e182b9d0f4536670 (patch)
treefb811493416668d298729960aa45560057918a93
parent490bb94c4670f0030a9a3f24bb975b48cc73b5bc (diff)
add json formatter
-rw-r--r--nvim/lua/config/formatters.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/lua/config/formatters.lua b/nvim/lua/config/formatters.lua
index 8199364..31cfd90 100644
--- a/nvim/lua/config/formatters.lua
+++ b/nvim/lua/config/formatters.lua
@@ -4,5 +4,6 @@ require("conform").setup({
-- npm install -g @fsouza/prettierd
javascript = { "prettierd", "prettier", stop_after_first = true },
typescript = { "prettierd", "prettier", stop_after_first = true },
+ json = { "prettierd", "prettier", stop_after_first = true },
},
})