astro-nvim-v3 - archive v3
This commit is contained in:
19
lua/plugins/configs/lsp/config/clangd.lua
Normal file
19
lua/plugins/configs/lsp/config/clangd.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
capabilities = {
|
||||
offsetEncoding = "utf-8",
|
||||
},
|
||||
cmd = {
|
||||
"clangd",
|
||||
"--background-index",
|
||||
"--clang-tidy",
|
||||
"--all-scopes-completion",
|
||||
"--header-insertion=iwyu",
|
||||
"--completion-style=detailed",
|
||||
"--fallback-style=Microsoft",
|
||||
},
|
||||
init_options = {
|
||||
clangdFileStatus = true,
|
||||
usePlaceholders = false,
|
||||
completeUnimported = true,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user