Editor support
Good editor support makes a new language feel friendly. selm has highlighting, compiler diagnostics, and formatting for .selm files in VS Code, Cursor, and Spacemacs.
VS Code and Cursor
Install the matching private release VSIX for your platform (gh release download -R nathanjohnson320/selm -p 'selm-*.vsix'). Release builds bundle selm-lsp for linux-x64, darwin-x64, darwin-arm64, and win32-x64. Prefer building from this checkout?
cargo build -p selm_lspPoint the extension at that binary with selm.lsp.path if you need to. Details for local development and format-on-save live in editors/vscode/README.md.
Spacemacs
The layer under editors/spacemacs/selm highlights .selm, formats with selm format, and starts selm-lsp when the lsp layer is enabled. Symlink it into your private layers and add selm to dotspacemacs-configuration-layers:
mkdir -p ~/.emacs.d/private
ln -sfn /path/to/selm/editors/spacemacs/selm ~/.emacs.d/private/selmKeep selm and selm-lsp on PATH. Reload with SPC f e R. SPC m = b formats the buffer. See editors/spacemacs/selm/README.org for keys and selm-format-on-save.