Initial Zed Crystal Extension Released (v0.0.1)

An extension has been released adding support for Crystal lang to Zed. As it was just merged, it may take a bit for it to show up in Zed itself.

This initial version is very basic, and uses the Ruby tree-sitter for syntax highlighting for now as the Crystal tree-sitter is developed. This should work fine for most cases but may break around macros. As well, it requires Crystalline in order to provide IDE-like features.

The extension repository is here: crystal-lang-tools/zed-crystal. Thank you to nicklatch for his help during development.

12 Likes

The helix-editor mentions Crystal Syntax Highlighting and Treesitter Textobjects: in their Language Support, maybe this is usefull?

Crystal also uses the ruby tree sitter with Helix