diff --git a/lua/lazyvim/plugins/lsp/init.lua b/lua/lazyvim/plugins/lsp/init.lua index de4493f4..25b3a8f1 100644 --- a/lua/lazyvim/plugins/lsp/init.lua +++ b/lua/lazyvim/plugins/lsp/init.lua @@ -138,6 +138,7 @@ return { opts = function() local nls = require("null-ls") return { + root_dir = require("null-ls.utils").root_pattern(".null-ls-root", ".neoconf.json", "Makefile", ".git"), sources = { nls.builtins.formatting.fish_indent, nls.builtins.diagnostics.fish,