feat: add TOML and YAML formatters to neovim
This commit is contained in:
@@ -48,6 +48,8 @@ in
|
||||
wl-clipboard
|
||||
# LSPs & Formatters
|
||||
stylua
|
||||
taplo
|
||||
yamlfmt
|
||||
lua-language-server
|
||||
nixd
|
||||
nix-doc
|
||||
|
||||
@@ -30,6 +30,8 @@ require("lz.n").load({
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
python = { "ruff_fix", "ruff_format", "ruff_organize_imports" },
|
||||
toml = { "taplo" },
|
||||
yaml = { "yamlfmt" },
|
||||
},
|
||||
formatters = {
|
||||
stylua = {
|
||||
|
||||
Reference in New Issue
Block a user