on master help sign in
LSP: add clangd as server for c/c++
0e6f007Björn Linse
languages.toml+2
@@ -42,6 +42,7 @@ injection-regex = "c"
42file-types = ["c"] # TODO: ["h"]
42file-types = ["c"] # TODO: ["h"]
43roots = []
43roots = []
44
44
45+language-server = { command = "clangd" }
45indent = { tab-width = 2, unit = " " }
46indent = { tab-width = 2, unit = " " }
46
47
47[[language]]
48[[language]]
@@ -51,6 +52,7 @@ injection-regex = "cpp"
51file-types = ["cc", "cpp", "hpp", "h"]
52file-types = ["cc", "cpp", "hpp", "h"]
52roots = []
53roots = []
53
54
55+language-server = { command = "clangd" }
54indent = { tab-width = 2, unit = " " }
56indent = { tab-width = 2, unit = " " }
55
57
56[[language]]
58[[language]]