added some clangd options
This commit is contained in:
parent
ae5247f81c
commit
0792b8274b
@ -238,8 +238,13 @@ return {
|
|||||||
server = {
|
server = {
|
||||||
capabilities = clangd_capabilities,
|
capabilities = clangd_capabilities,
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
cmd = { 'clangd', '--compile-commands-dir=build_nvim', '--query-driver',
|
cmd = { 'clangd',
|
||||||
'/opt/cortex-a78-2022.08-gcc12.1-linux5.15/bin/aarch64-linux-gnu-g*' },
|
'--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_dir = lspconfig.util.root_pattern(
|
root_dir = lspconfig.util.root_pattern(
|
||||||
'.clangd',
|
'.clangd',
|
||||||
'.clang-tidy',
|
'.clang-tidy',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user