on master help sign in
Merge pull request #92 from bfredl/clangd

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

commitabe8a83d8e0adeb83c188b28501176e17f4c4fbf authorBlaž Hrastnik <blaz@mxxn.io> dateThu 3 Jun 2021, 22:23 (5 years ago) parenta05fb950e6f007
1 file changed+2
languages.toml+2
languages.toml+2
@@ -42,6 +42,7 @@ injection-regex = "c"
4242file-types = ["c"] # TODO: ["h"]
4343roots = []
4444
45+language-server = { command = "clangd" }
4546indent = { tab-width = 2, unit = " " }
4647
4748[[language]]
@@ -51,6 +52,7 @@ injection-regex = "cpp"
5152file-types = ["cc", "cpp", "hpp", "h"]
5253roots = []
5354
55+language-server = { command = "clangd" }
5456indent = { tab-width = 2, unit = " " }
5557
5658[[language]]