Add eon_lsp language server, Zed extension CI, and eonfmt stdin support#7
Draft
MatiasHiltunen wants to merge 1 commit intoemilk:mainfrom
Draft
Add eon_lsp language server, Zed extension CI, and eonfmt stdin support#7MatiasHiltunen wants to merge 1 commit intoemilk:mainfrom
MatiasHiltunen wants to merge 1 commit intoemilk:mainfrom
Conversation
Add `crates/eon_lsp` — a language server for Eon built on tower-lsp that provides: - Diagnostics on open/change/save via eon_syntax - Document formatting via eon::reformat - Keyword and context-aware map-key completions - Document symbols for map keys Add stdin/stdout support to eonfmt: passing "-" as the file argument reads from stdin and writes formatted output to stdout, enabling use as an editor formatter (Helix, Neovim) and in Unix pipelines. Add CI workflows: - eon_zed_extension.yml: tree-sitter grammar tests and WASM extension build check - eon_lsp_release.yml: cross-platform binary releases for macOS, Linux, and Windows Also extend example.eon with additional entries. Made-with: Cursor
Author
Author
|
@emilk Would you mind checking this? :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Add
crates/eon_lsp, language server for Eon built on tower-lsp.Includes features such as:
Add stdin/stdout support to eonfmt: passing "-" as the file argument reads from stdin and writes formatted output to stdout -> enables use as an editor formatter (fe. with Helix, Neovim).
Add CI workflow drafts (needs to be verified):
Currently the tree-sitter-eon is here: https://github.com/MatiasHiltunen/tree-sitter-eon
And the Zed extension (Zed requires it to be in its own repo?): https://github.com/MatiasHiltunen/zed-eon
Reviewed with Claude Opus 4.6 locally. Implemented with Codex-5.3.