mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 16:40:21 +00:00
Documentation: Update Helix editor documentation
Helix 23.10 made breaking changes to the way lsp configuration works, so update documentation to reflect the new structure.
This commit is contained in:
parent
eac7916d2c
commit
427ca284f1
Notes:
sideshowbarker
2024-07-17 02:21:14 +09:00
Author: https://github.com/vkoskiv Commit: https://github.com/SerenityOS/serenity/commit/427ca284f1 Pull-request: https://github.com/SerenityOS/serenity/pull/21943
1 changed files with 5 additions and 1 deletions
|
@ -10,9 +10,13 @@ CompileFlags:
|
|||
|
||||
You also need to configure the clangd server to detect headers properly from the Serenity toolchain. To do this, create a `.helix/languages.toml` file in the project root:
|
||||
```toml
|
||||
[language-server.serenity]
|
||||
command = "clangd"
|
||||
args = ["--query-driver=/path/to/serenity/Toolchain/Local/**/*", "--header-insertion=never"]
|
||||
|
||||
[[language]]
|
||||
name = "cpp"
|
||||
language-server = { command = "clangd", args=["--query-driver=/path/to/serenity/Toolchain/Local/**/*", "--header-insertion=never"] }
|
||||
language-servers = ["serenity"]
|
||||
```
|
||||
|
||||
> Make sure to replace `/path/to/serenity` with the actual path in the snippet above!
|
||||
|
|
Loading…
Reference in a new issue