mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 17:58:46 +02:00
add: move config to individual file
This commit is contained in:
parent
554d68c7ae
commit
549a63a3da
9 changed files with 291 additions and 187 deletions
11
lua/user/lsp/settings/clangd.lua
Normal file
11
lua/user/lsp/settings/clangd.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
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(),
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue