Added condition to syntax highlighting