Intro to Kakoune highlighters

Yesterday I decided to learn about writing a syntax highlighter for Kakoune. Although it wasn’t too difficult, given the reference docs that come with Kakoune and all the examples in rc/filetype/, it did take me a while to figure out how the “group” and “region” highlighters worked, and how they worked together. So, I wrote a high-level overview that I thought other people might find helpful:

At the end, it also includes an example skeleton of a syntax highlighting plugin than you can copy and customise for yourself!


I really need to learn C+