mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 09:20:28 +03:00
675 B
675 B
Helix Configuration
Helix comes with support for clangd
and clang-format
out of the box! However, a small bit of configuration is needed for it to work correctly with Ladybird.
The following .clangd
should be placed in the project root:
CompileFlags:
CompilationDatabase: Build/ladybird
Diagnostics:
UnusedIncludes: None
MissingIncludes: None
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:
[language-server.ladybird]
command = "clangd"
args = ["--header-insertion=never"]
[[language]]
name = "cpp"
language-servers = ["ladybird"]