diff --git a/.config/nvim/lua/plugins/null-ls.lua b/.config/nvim/lua/plugins/null-ls.lua index 7a2339f..9db0e76 100644 --- a/.config/nvim/lua/plugins/null-ls.lua +++ b/.config/nvim/lua/plugins/null-ls.lua @@ -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, },