Constrain buf linting to the current file
This commit is contained in:
parent
453979dd39
commit
441967f0ae
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ null_ls.setup({
|
||||||
builtins.formatting.shfmt,
|
builtins.formatting.shfmt,
|
||||||
builtins.formatting.buildifier,
|
builtins.formatting.buildifier,
|
||||||
builtins.completion.spell,
|
builtins.completion.spell,
|
||||||
builtins.diagnostics.buf,
|
builtins.diagnostics.buf.with({
|
||||||
|
args = { "lint", "--path", "$FILENAME" },
|
||||||
|
}),
|
||||||
builtins.diagnostics.buildifier,
|
builtins.diagnostics.buildifier,
|
||||||
builtins.diagnostics.cue_fmt,
|
builtins.diagnostics.cue_fmt,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue