Use prettierd for formatting json instead of jq as it does not support fake json files properly
This commit is contained in:
@@ -13,7 +13,7 @@ local formatters_by_ft = {
|
|||||||
markdown = { "prettierd" },
|
markdown = { "prettierd" },
|
||||||
yaml = { "prettierd" },
|
yaml = { "prettierd" },
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
json = { "jq" },
|
json = { "prettierd" },
|
||||||
toml = { "taplo" },
|
toml = { "taplo" },
|
||||||
-- ["*"] = { "injected" },
|
-- ["*"] = { "injected" },
|
||||||
["_"] = { "trim_whitespace", "trim_newlines" },
|
["_"] = { "trim_whitespace", "trim_newlines" },
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ local ensure_installed = {
|
|||||||
"ruff",
|
"ruff",
|
||||||
"prettierd",
|
"prettierd",
|
||||||
"stylua",
|
"stylua",
|
||||||
"jq",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
--- @module "lazy"
|
--- @module "lazy"
|
||||||
|
|||||||
Reference in New Issue
Block a user