Merge pull request #92 from bfredl/clangd

LSP: add clangd as server for c/c++
This commit is contained in:
Blaž Hrastnik 2021-06-03 22:23:20 +09:00 committed by GitHub
commit abe8a83d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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