mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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"]
|
|
```
|