Smarter syntax highlighting