orbitalquark / scintillua

Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.
https://orbitalquark.github.io/scintillua
MIT License
52 stars 22 forks source link

Add modern rewrite of gemini lexer from vis. #74

Closed mcepl closed 2 years ago

mcepl commented 2 years ago

Mistakenly considered included as a part of port of #13 in #68, but it has never been.

Project Gemini (https://gemini.circumlunar.space/) uses text format of MIME type text/gemini (*.gmi). There are syntax highlighters for it for Emacs (https://git.carcosa.net/jmcbray/gemini.el/src/branch/master/gemini-mode.el) and Vim (https://tildegit.org/sloum/gemini-vim-syntax).

orbitalquark commented 2 years ago

As mentioned in #13 and #68, I opted not to include this lexer. In general, Scintillua has lexers for programming languages, markup languages, and input and configuration files. This looks like a protocol? I don't feel like it should be included either.

mcepl commented 2 years ago

As mentioned in #13 and #68, I opted not to include this lexer. In general, Scintillua has lexers for programming languages, markup languages, and input and configuration files. This looks like a protocol? I don't feel like it should be included either.

This is actually a markup format https://gemini.circumlunar.space/docs/gemtext.gmi , but yes, we will survive even if you kick us out with this.

orbitalquark commented 2 years ago

Reopening. I will add the Gemini, strace, and git-rebase lexers proposed in this and previous PRs when I have some time.

orbitalquark commented 2 years ago

Gemini, git-rebase, and strace have been added in https://github.com/orbitalquark/scintillua/commit/581c329e91f8b3168c82e6942a08d9814c5c178f.

mcepl commented 2 years ago

Thank you!