Highlight triggers on long lines don't function
The documentation states that "Lines longer than 1024 characters are truncated at the 1024th character for performance reasons." In my experience, this is not true. Lines less that 320 characters function correctly, lines over 320 characters do not match the highlights at all (even if the highlight falls in the first 320 characters).
Given this example:
#include <stdio.h>
int main(int argc, char **argv)
{
// simple match
printf("test xyzzy\n");
// exactly 320 characters
printf("test xyzzy ");
for (int i = 0; i < 309; i++)
printf("X");
printf("\n");
// just over 320
printf("test xyzzy ");
for (int i = 0; i < 310; i++)
printf("X");
printf("\n");
// simple match
printf("test xyzzy\n");
return 0;
}