Closed dncnmcdougall closed 8 years ago
Thanks!
You mention in you description that the regex is not yet correct. I've noticed that there is a regression for g:cpp_experimental_template_highlight = 1
where inside the angled brackets things doesn't get highlighted at all. See the last function in test/color2.cpp
.
Have you noticed this and do you have any ideas on how to solve this?
Also see #30
I have improved the regex for the experimental template highlighting.
It now uses simpler regex, and does recursion on templates. This means it is faster than my previous commit and more complete. I have added additional tests. They are rather difficult tests.
Note: this is not yet correct. It fails some of the test cases.