[C/Fortran] Highlight bug for #include pre-processors
I found a bug that makes highlighting #include
preprocessors for C, C++, Cg (cg.lang
) and Fortran. The issue is that they had the following regex rule:
(".*?"|<.*>)
The first part of the rule is lazy, which is correct. The second part, however, is greedy and causes this to happen:
I fixed this issue on a fork and will submit an MR soon.