Emacs mode for Rhombus #294
Replies: 3 comments 15 replies
-
You might be interested in some of the work on Racket Mode to make it derive more information from the |
Beta Was this translation helpful? Give feedback.
-
While I think this is very cool, I think this shows a greater need for proper LSP in the racket ecosystem. With LSP you'd do this exactly once, then use it across all compatible IDEs, such as VScode, (n)vim (with appropriate plugin), or even emacs (with appropriate plugin). Further, that "doing once" could be done in the repo where the language is defined - we already have some of this, but it's very DrRacket specific, and doesn't seem general enough to me. Great work! Looks very readable. |
Beta Was this translation helpful? Give feedback.
-
Oh, sorry; I overlooked that. I only glanced in Glancing at the latter, the good news is it provides a custom (not standard LSP) notification for fancier coloring from check-syntax information, as well as a custom method for indent. The bad news is the project is in Archived status. It sounds like you wanted to use both LSP servers, if possible, but that didn't work out? I guess ideally the extra things from the archived LSP server project could be added to active one, unless there are practical or licensing obstacles. [Disclaimer: I don't know LSP in any detail, or its use in Emacs (Racket Mode predates LSP).] |
Beta Was this translation helpful? Give feedback.
-
Not sure if there's already an effort in this direction, but I've been playing around with Rhombus recently, and have gotten tired of having to rely on Python's highlighting as a workaround for making rhombus code pretty.
I've written a basic Emacs mode for Rhombus (very incomplete, but good enough to get the job done for now): https://github.com/Gopiandcode/rhombus-mode
Here are some screenshots on my local machine:
Beta Was this translation helpful? Give feedback.
All reactions