From 45be9f2ae2494f553ed1c3d2633bc52ef9df2e4b Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 4 Aug 2022 09:37:02 +0200 Subject: [PATCH] nvim: buf should not follow symlinks (going deep into bazel sandboxes) --- .config/nvim/lua/plugins/null-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/null-ls.lua b/.config/nvim/lua/plugins/null-ls.lua index 9db0e76..d133c9a 100644 --- a/.config/nvim/lua/plugins/null-ls.lua +++ b/.config/nvim/lua/plugins/null-ls.lua @@ -9,7 +9,7 @@ null_ls.setup({ builtins.formatting.buildifier, builtins.completion.spell, builtins.diagnostics.buf.with({ - args = { "lint", "--path", "$FILENAME" }, + args = { "lint", "--disable-symlinks", "--path", "$FILENAME" }, }), builtins.diagnostics.buildifier, builtins.diagnostics.cue_fmt,