add syntax highlighting to declarations (fixes #12)