heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.76k stars 183 forks source link

Feature request: Can the Lua language be supported? #228

Open hope0390 opened 3 months ago

hope0390 commented 3 months ago

I am a game development engineer, using cocos2dx-Lua to develop games, I think your software is very easy to use, but does not support Lua language.

flpxn7 commented 3 months ago

perl、R are also popular languages, Can them be supported?

rmjohnson commented 3 months ago

I don't see language support for Lua or Perl in Codemirror. Though they do have R listed in their community language support so that feels like it would be possible if a dependency on codemirror-lang-r was added.

kjk commented 1 month ago

Lua is part of lagacy modes (https://www.npmjs.com/package/@codemirror/legacy-modes) so it can be easily added.

I've added it to my fork: https://github.com/kjk/edna/commit/a14bd9303f641daacbca0ece43eb4a54a61d8da2