astro-nvim-v3 - change lsp and highlighting

This commit is contained in:
huyjaky
2025-01-01 21:24:31 +07:00
parent 86b1ec41c3
commit fa8ffc5e10
12 changed files with 166 additions and 151 deletions

View File

@@ -1,19 +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,
},
}
-- 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,
-- },
-- }