andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 39 forks source link

MIT-Scheme highlighting #380

Closed alexgian closed 8 years ago

alexgian commented 8 years ago

I am surprised that even though you have such nice support for MIT-Scheme, the syntax highlighter is totally inadequate. I suppose that due to MIT-Scheme's differences: the weird #| comment |# convention as well as the non standard #!optional argument shebang, standard parsers are quickly defeated.

Is there an easy way to edit the Scheme grammar parsing, or add a new derivative that fixes this? Many Thanks!

andreikop commented 8 years ago

Hi!

Read this document, then edit this file. If you use Linux, this file is located somewhere at /usr/lib/python.. or /usr/local/lib/python.... Your pull request to Qutepart is welcome!

alexgian commented 8 years ago

Thank you so much!

I was having a bit of trouble finding those files.

I hope to have the pull request ready soon!

Best Regards (and huge appreciation for your efforts!)

Alex

On 16 January 2016 at 13:15 Andrei Kopats notifications@github.com wrote:

Hi!

Read this

https://docs.kde.org/stable5/en/applications/katepart/highlight.html document, then edit this https://github.com/hlamer/qutepart/blob/master/qutepart/syntax/data/xml/scheme.xml file. If you use Linux, this file is located somewhere at /usr/lib/python.. or /usr/local/lib/python.... Your pull request to Qutepart is welcome!

—
Reply to this email directly or view it on GitHub

https://github.com/hlamer/enki/issues/380#issuecomment-172205010 .