1
0
Fork 0
No description
This repository has been archived on 2026-05-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Rust 97.9%
  • Nix 2.1%
Find a file
2026-01-07 13:24:28 +02:00
src feat: do completions for the HOOK macro as well as the run one 2026-01-07 13:24:28 +02:00
.gitignore feat: initial implementations, features completion and checking of init 2026-01-06 18:31:19 +02:00
Cargo.lock feat: initial implementations, features completion and checking of init 2026-01-06 18:31:19 +02:00
Cargo.toml feat: initial implementations, features completion and checking of init 2026-01-06 18:31:19 +02:00
flake.lock chore: add flake 2026-01-06 18:27:02 +02:00
flake.nix chore: add flake 2026-01-06 18:27:02 +02:00
LICENSE chore: add license 2026-01-06 18:27:08 +02:00
README.md feat: implement hooks plugin 2026-01-07 13:19:04 +02:00

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 understands INIT_TARGET macros, offering completions for dependency names and diagnostics for unknown or duplicated dependencies.
  • hooks indexes HOOK/HOOK_RUN macros, 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.