Use prettierd for formatting json instead of jq as it does not support fake json files properly

This commit is contained in:
Tim Huizinga 2025-06-11 14:37:55 +02:00
parent 5b97d37ed3
commit a041084bef
2 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,7 @@ local formatters_by_ft = {
markdown = { "prettierd" },
yaml = { "prettierd" },
lua = { "stylua" },
json = { "jq" },
json = { "prettierd" },
toml = { "taplo" },
-- ["*"] = { "injected" },
["_"] = { "trim_whitespace", "trim_newlines" },

View File

@ -26,7 +26,6 @@ local ensure_installed = {
"ruff",
"prettierd",
"stylua",
"jq",
}
--- @module "lazy"