feat: add TOML and YAML formatters to neovim

This commit is contained in:
2026-06-17 21:21:17 +02:00
parent 9df7bfd825
commit 2ed4a899b7
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -48,6 +48,8 @@ in
wl-clipboard wl-clipboard
# LSPs & Formatters # LSPs & Formatters
stylua stylua
taplo
yamlfmt
lua-language-server lua-language-server
nixd nixd
nix-doc nix-doc
@@ -30,6 +30,8 @@ require("lz.n").load({
formatters_by_ft = { formatters_by_ft = {
lua = { "stylua" }, lua = { "stylua" },
python = { "ruff_fix", "ruff_format", "ruff_organize_imports" }, python = { "ruff_fix", "ruff_format", "ruff_organize_imports" },
toml = { "taplo" },
yaml = { "yamlfmt" },
}, },
formatters = { formatters = {
stylua = { stylua = {