summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Linse2021-06-03 13:07:50 +0000
committerBjörn Linse2021-06-03 13:07:50 +0000
commit0e6f007028d06557404a4785189aafb7be16f170 (patch)
tree21618c895e7538fc5f5b0168eee3f1fe97ac992b
parent661dbdca57f76cbd22f3e62f8b87ee2146a50bab (diff)
LSP: add clangd as server for c/c++
-rw-r--r--languages.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 6b80763f..143a7c27 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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]]