aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-03 13:23:20 +0000
committerGitHub2021-06-03 13:23:20 +0000
commitabe8a83d8e0adeb83c188b28501176e17f4c4fbf (patch)
treeb582eecf6f92ff552cd517f99b389cb5a7461af9
parenta05fb95769abe950aa5f8131fdf097933590d00f (diff)
parent0e6f007028d06557404a4785189aafb7be16f170 (diff)
Merge pull request #92 from bfredl/clangd
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]]