Use prettierd for formatting json instead of jq as it does not support fake json files properly
This commit is contained in:
parent
5b97d37ed3
commit
a041084bef
|
@ -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" },
|
||||
|
|
|
@ -26,7 +26,6 @@ local ensure_installed = {
|
|||
"ruff",
|
||||
"prettierd",
|
||||
"stylua",
|
||||
"jq",
|
||||
}
|
||||
|
||||
--- @module "lazy"
|
||||
|
|
Loading…
Reference in New Issue
Block a user