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

pull/92/head
Björn Linse 4 years ago
parent 661dbdca57
commit 0e6f007028

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

Loading…
Cancel
Save