pojokcodeid.nvim-lazy/lua/user/lsp/settings/clangd.lua
2024-03-01 15:19:53 +07:00

11 lines
221 B
Lua

return {
root_dir = require("lspconfig.util").root_pattern(
"build",
"compile_commands.json",
".git",
"mvnw",
"gradlew",
"pom.xml",
"build.gradle"
) or vim.loop.cwd() or vim.fn.getcwd(),
}