moved lsp server config to after dir
This commit is contained in:
21
after/lsp/clangd.lua
Normal file
21
after/lsp/clangd.lua
Normal file
@ -0,0 +1,21 @@
|
||||
return {
|
||||
cmd = {
|
||||
'clangd',
|
||||
'--compile-commands-dir=build_nvim',
|
||||
'--query-driver',
|
||||
'/opt/cortex-a78-2022.08-gcc12.1-linux5.15/bin/aarch64-linux-gnu-g*',
|
||||
'--clang-tidy',
|
||||
'--background-index',
|
||||
'--use-dirty-headers',
|
||||
'--completion-style=detailed',
|
||||
},
|
||||
root_markers = {
|
||||
'.clangd',
|
||||
'.clang-tidy',
|
||||
'.clang-format',
|
||||
'compile_flags.txt',
|
||||
'configure.ac',
|
||||
'.git',
|
||||
'build_nvim',
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user