Syntax highlighting and macros for logcp