LSP: add clangd as server for c/c++

This commit is contained in:
Björn Linse 2021-06-03 15:07:50 +02:00
parent 661dbdca57
commit 0e6f007028

View File

@ -42,6 +42,7 @@ injection-regex = "c"
file-types = ["c"] # TODO: ["h"]
roots = []
language-server = { command = "clangd" }
indent = { tab-width = 2, unit = " " }
[[language]]
@ -51,6 +52,7 @@ injection-regex = "cpp"
file-types = ["cc", "cpp", "hpp", "h"]
roots = []
language-server = { command = "clangd" }
indent = { tab-width = 2, unit = " " }
[[language]]