mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
b832837106
This change also removes parts of the existing docs that explain how to create a .clangd file with the project-recommended defaults. (Those docs are no longer necessary — since this change adds a .clangd file to the repo, containing those same defaults).
11 lines
407 B
Markdown
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"]
|
|
```
|