feat: add TOML and YAML formatters to neovim
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user