No description
- Rust 97.9%
- Nix 2.1%
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Elysium LSP
Elysium LSP is a custom language server for the Cronus kernel. It is of little use for any other project.
Arguments
| Flag | Description |
|---|---|
--project-root <path> |
Root of the Cronus repository. Required. |
--log-level <level> |
Tracing level (e.g. info, debug). |
--plugin <name> |
Repeatable flag selecting which plugins to load. Defaults to all plugins. |
Plugins
Plugins live in src/plugins. Each plugin implements the LspPlugin trait. To enable or disable plugins from the CLI, pass one or more --plugin flags.
Available plugins
init-deps– understandsINIT_TARGETmacros, offering completions for dependency names and diagnostics for unknown or duplicated dependencies.hooks– indexesHOOK/HOOK_RUNmacros, providing completions when editing hook invocations and diagnostics for runs that refer to undefined hooks.
To add a new plugin, create a module under src/plugins, implement the trait, and register it in PluginChoice/instantiate_plugins in main.rs.