Hi, for those people who use VIM as their source editor, I have updated the VIM syntax files that were created by Andrey Demenev some time back for P1 Spin and they should now support P2 syntax highlighting instead as well as the ## option, for recognized .spin2 file types.
If I didn't miss anything this should now hopefully cover all the PASM2 mnemonics and SPIN2 reserved words. It currently doesn't cover all those new names Chip has added for streamer modes, smartpin modes and events though those could be added in time if anyone wants to do that. (It was tedious enough to do all the SPIN2 PASM2 names so I didn't go further there).
Copy these two spin2.vim files into your .vim/syntax and .vim/ftdetect folders accordingly. The directory structure in the ZIP file should help figure out where they go.