The Crystal Programming Language Forum

Providing Syntax Highlighting Support for the Lite-xl editor

Hello everyone, I am new to crystal, and as part of my learning, decided to make a plugin for a little editor I like to use - lite-xl - providing language support, primarily syntax highlighting.

Here is it so far. I built on based on the existing ruby plugin. Currently the biggest things to improve:

  1. Make sure it has all the syntax differences between ruby and crystal
  2. Make sure it covers all the keywords in the language and standard lib
  3. Making interpolated strings work

If I were to hazard a guess I would say it is about 75% complete, has all the important stuff.

If you have any feedback or suggestions, please do give, otherwise I plan to submit it in its current state to the lite-xl repository.

4 Likes