syntax highlighting using snippets