pest-parser / pest.vim

Vim syntax highlighting for pest PEG grammar files.
MIT License
33 stars 8 forks source link

Improve highlighting for number of matches and built-in unicode rules #5

Closed bbannier closed 4 years ago

bbannier commented 4 years ago

This improves highlighting when specifying an exact number of matches (which previously broke pestBlock hightlighting), and as an orthogonal changes adds the full documented set of built-in unicode rules as keywords.

bbannier commented 4 years ago

Cool, thanks! The block highlighting is a hack, but I guess it's fine for now 🙂

Yes, definitely a hack. I tried to at least document it (in the commit message for now).

Your second commit contains a typo (hightlighting -> highlighting), could you fix that (with git commit --amend) and re-push?

Done. My spell checker also suggested to spell it Unicode so I went for that as well.