🔧 More formatters for nvim

This commit is contained in:
z3rOR0ne 2024-08-12 15:05:47 -07:00
parent bad826cccf
commit 3074347e33
2 changed files with 5 additions and 0 deletions

View file

@ -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()

View file

@ -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