nvim: Disable prettier yaml formatting
This commit is contained in:
parent
3e05007045
commit
7c7dabeec2
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ local augroup = vim.api.nvim_create_augroup("LspFormatting", {})
|
||||||
|
|
||||||
null_ls.setup({
|
null_ls.setup({
|
||||||
sources = {
|
sources = {
|
||||||
formatting.prettier,
|
formatting.prettier.with({
|
||||||
|
disabled_filetypes = { "yaml" },
|
||||||
|
}),
|
||||||
formatting.stylua,
|
formatting.stylua,
|
||||||
diagnostics.eslint_d.with({
|
diagnostics.eslint_d.with({
|
||||||
condition = function(utils)
|
condition = function(utils)
|
||||||
|
|
Loading…
Add table
Reference in a new issue