summaryrefslogtreecommitdiff
path: root/conform.lua
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2026-02-08 22:30:05 +0100
committerfilip <“filip.rabiega@gmail.com”>2026-02-08 22:30:05 +0100
commit1f8ff76382b23aad44a02de06bd8dd0c18bc0434 (patch)
treeac24ea393278e8dacf147c90e393ba7a2b701afe /conform.lua
parent7a7a8ace1dacfff121ce90110c7b5c8635d178c3 (diff)
downloadlazy-plugins-1f8ff76382b23aad44a02de06bd8dd0c18bc0434.tar.gz
lazy-plugins-1f8ff76382b23aad44a02de06bd8dd0c18bc0434.tar.bz2
lazy-plugins-1f8ff76382b23aad44a02de06bd8dd0c18bc0434.zip
add new plugins
Diffstat (limited to 'conform.lua')
-rw-r--r--conform.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/conform.lua b/conform.lua
index 82e76b8..fbefafc 100644
--- a/conform.lua
+++ b/conform.lua
@@ -11,8 +11,9 @@ return {
tex = { "tex-fmt" },
lua = { "stylua" },
sh = { "shfmt" },
+ json = { "json_repair" },
},
- -- This is the "Magic" part: Format on Save
+
format_on_save = {
lsp_fallback = true, -- Use LSP if no dedicated formatter is found
async = false, -- Formatting must be synchronous to save correctly