Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide tree-sitter grammar for mcfunction #1144

Open
SPGoding opened this issue May 14, 2024 · 0 comments
Open

Provide tree-sitter grammar for mcfunction #1144

SPGoding opened this issue May 14, 2024 · 0 comments

Comments

@SPGoding
Copy link
Member

Many text editors rely on Tree-sitter grammars (and queries) instead of TextMate-like regex for syntax highlighting:

Tree-sitter grammars are written in JS, and the Spyglass language server is intended to be compatible with all LSP-compliant text editors, so it feels within scope and maintainable to include a Tree-sitter grammar for mcfunction in this repo to help further improve the developer experience of data packs across all editors.

I wrote a grammar on the tree-sitter-mcfunction branch some time ago which can probably be a start point after v4 is closer to ready.

@misode misode added this to the Backlog milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants