This commit is contained in:
pmcc committed 2026-10-05 16:43:57 -04:00
1 parent 54bafa94a7
commit 7c152cc388
2 files changed
+23

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
return {
cmd = { "clangd" },
filetypes = {
"c", "cpp", "objc", "objcpp",
"cuda", "proto",
},
root_markers = {
".clangd",
".clang-tidy",
".clang-format",
"compile_commands.json",
"compile_flags.txt",
"configure.ac",
"configure",
"config.h",
"Makefile",
".git",
},
capabilities = {
offsetEncoding = { "utf-16" },
},
}
+1
View File
@@ -54,6 +54,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
vim.lsp.enable({ vim.lsp.enable({
"lua_ls", "lua_ls",
"ols", "ols",
"clangd",
}) })
-- Load Lsp on-demand, e.g: eslint is disable by default -- Load Lsp on-demand, e.g: eslint is disable by default