ladybird/Documentation/EditorConfiguration/HelixConfiguration.md
Sam Atkins 25441e2250 Documentation: Move editor configuration guides into a subdirectory
This makes them a bit easier to find, and also stops them cluttering up
the main documentation.
2024-10-23 09:02:46 +02:00

11 lines
407 B
Markdown

# Helix Configuration
Helix comes with support for `clangd` and `clang-format` out of the box! However, you also need to configure the clangd server to not insert headers improperly. To do this, create a `.helix/languages.toml` file in the project root:
```toml
[language-server.ladybird]
command = "clangd"
args = ["--header-insertion=never"]
[[language]]
name = "cpp"
language-servers = ["ladybird"]
```