1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
return {
cmd = { "clangd" },
filetypes = { "c", "cpp", "cuda" },
root_markers = {
"meson.build",
".clang-format",
".clang-tidy",
"compile_commands.json",
"compile_flags.txt",
"configure.ac"
},
single_file_support = true,
capabilities = {
textDocument = {
completion = {
editsNearCursor = true,
},
},
offsetEncoding = { "utf-8", "utf-16" },
},
}
|