This commit is contained in:
Christian Nieves
2024-01-17 17:09:02 +00:00
parent 92ea9df483
commit 00be311d98

View File

@ -27,10 +27,7 @@ function M.setup(capabilities)
"bzl", "bzl",
"typescript", "typescript",
}, },
-- root_dir = lspconfig.util.root_pattern("BUILD"), root_dir = lspconfig.util.root_pattern("BUILD"),
root_dir = function(fname)
return string.match(fname, "(/google/src/cloud/[%w_-]+/[%w_-]+/google3/).+$")
end,
settings = {}, settings = {},
}, },
} }