mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
LSP: add clangd as server for c/c++
This commit is contained in:
parent
661dbdca57
commit
0e6f007028
@ -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]]
|
||||
|
Loading…
Reference in New Issue
Block a user