diff --git a/.config/nvim/after/plugin/conform.lua b/.config/nvim/after/plugin/conform.lua index 54d6dd32..4b3339af 100644 --- a/.config/nvim/after/plugin/conform.lua +++ b/.config/nvim/after/plugin/conform.lua @@ -8,6 +8,9 @@ require("conform").setup({ html = { "prettierd", "prettier", stop_after_first = true }, sql = { "sql_formatter" }, sh = { "shfmt" }, + json = { "jq" }, + toml = { "taplo" }, + yaml = { "yq" }, }, format_on_save = { -- These options will be passed to conform.format() diff --git a/updates.txt b/updates.txt index aa7a5746..b7c7bbc9 100755 --- a/updates.txt +++ b/updates.txt @@ -566,3 +566,5 @@ Install sql-formatter paru sql-formatter Install black (python formatter) doas pacman -S python-black +Install taplo (TOML formatter) +doas pacman -S taplo