1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

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

@ -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]]