adsr / mle

flexible terminal-based text editor (C)
Apache License 2.0
827 stars 53 forks source link

Any plans to support for better syntax highllighting (e.g. scintillua)? #60

Closed MuhammedZakir closed 2 years ago

MuhammedZakir commented 2 years ago

Suggested Scintillua because it seems simple and supports lots of languages when compared to others.

https://github.com/orbitalquark/scintillua/

adsr commented 2 years ago

Hello. One day I would like to rewrite the syntax highlighting code as it's hard to follow and not elegant. If and when I get to that, I would also like to support a common syntax highlighting format. Ideally it would be one that is easily parseable, and wouldn't require any extra dependencies. Scintillua is cool but would require adding a lot of deps.

MuhammedZakir commented 2 years ago

Hey! :-) I was thinking about using it as a Lua library [1]. Wouldn't that work? I mentioned it hoping it would be more easy to support it than other similiar libraries.

P.S. This app is really cool! Although some maybe hacky, I really liked how you integrated all those common tools. Keep up the good work! :-D

[1] https://github.com/orbitalquark/scintillua/blob/default/docs/manual.md#using-scintillua-as-a-lua-library