Editor Support
Lumen provides first-class support for VS Code through a dedicated extension that includes syntax highlighting, diagnostics, and deep AI-native features.
VS Code Extension
The official Lumen extension is available on the Open VSX Registry.
Installation
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X). - Search for Lumen.
- Click Install.
Alternatively, install it via the command line:
bash
code --install-extension lumen-lang.lumen-langFeatures
- Syntax Highlighting: Beautiful theme-aware highlighting for
.lm.mdfiles. - Language Server: Powered by
lumen-lsp(bundled with the extension). - Diagnostics: Real-time error reporting and type-checking.
- AI Tool Integration: Hover over tool calls to see documentation and live status.
Other Editors
Lumen uses the Language Server Protocol (LSP). You can use any LSP-compatible editor (Vim/Neovim, Emacs, Sublime Text) by installing the lumen-lsp binary.
Installing the Language Server
If you used the One-liner Installation, you already have lumen-lsp in your path.
Otherwise, install it via Cargo:
bash
cargo install lumen-lspConfigure your editor to use lumen-lsp for .lm.md files.