add yaml formatter
This commit is contained in:
parent
e92f552ae2
commit
9f4dc0aced
1 changed files with 17 additions and 16 deletions
|
|
@ -39,6 +39,7 @@ return {
|
||||||
typescriptreact = { "prettierd" },
|
typescriptreact = { "prettierd" },
|
||||||
go = { "gofumpt" },
|
go = { "gofumpt" },
|
||||||
python = { "autopep8" },
|
python = { "autopep8" },
|
||||||
|
yaml = { "yamlfmt" },
|
||||||
},
|
},
|
||||||
format_on_save = function(bufnr)
|
format_on_save = function(bufnr)
|
||||||
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
|
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue