root_dir
This commit is contained in:
@ -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 = {},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user