Fix incorrect syntax error highlighting