Hacker News new | ask | show | jobs
by leorocky 4391 days ago
I think the problem is also vim which doesn't have a really great way to do syntax highlighting. At least not an easy way. Highlighting is all in a single thread and blocks which makes it slow on large files and the regular expressions seem fragile. I think a better way to do syntax highlighting would involve a lexer and bison instead of regular expression hell.
1 comments

Surprisingly this file is pretty simple. The learning curve for writing syntax files is definitely something though.