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
53 stars 22 forks source link

Add modern rewrite of git-rebase lexer from vis. #72

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.

mcepl commented 2 years ago

The typical filename of the file in question is .git/rebase-merge/git-rebase-todo (without a dot in the basename), so I am not sure how to record it in lpeg.properties.

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. Output files are not included.

mcepl commented 2 years ago

OK, we will have to carry this in vis alone. Oh well.

MuhammedZakir commented 2 years ago

Just my 2 cents: IMHO, it would be nice if this repo includes commonly used stuff in addition to what you mentioned above; doing git-rebase with your favorite editor is common. :-) Another reason is that this repo is used mainly for editors. Having a common source helps.

mcepl commented 2 years ago

I agree, but I am not willing to fight with @orbitalquark too much. It is his project, and although I may not agree with him, it is his show.