Constrain buf linting to the current file

This commit is contained in:
Daniel Lundin 2022-08-04 09:16:25 +02:00
parent 453979dd39
commit 441967f0ae

View file

@ -8,7 +8,9 @@ null_ls.setup({
builtins.formatting.shfmt,
builtins.formatting.buildifier,
builtins.completion.spell,
builtins.diagnostics.buf,
builtins.diagnostics.buf.with({
args = { "lint", "--path", "$FILENAME" },
}),
builtins.diagnostics.buildifier,
builtins.diagnostics.cue_fmt,
},