Skip to content

Commit

Permalink
Documentation: Update Helix editor documentation
Browse files Browse the repository at this point in the history
Helix 23.10 made breaking changes to the way lsp configuration works, so
update documentation to reflect the new structure.
  • Loading branch information
vkoskiv authored and trflynn89 committed Nov 15, 2023
1 parent eac7916 commit 427ca28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/HelixConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

0 comments on commit 427ca28

Please sign in to comment.