So I've managed to release a (somewhat functioning) package for
Atom that will automatically detect and highlight Sourcepawn files (provided that they end in .sp or .inc). It's a bit difficult to get an accurate screenshot since different syntax themes will colorize everything differently, but here's an idea of what gets colorized:
This is a pretty big work-in-progress (as you can see from the screenshot itself), so hopefully things will improve as I gain more experience with regex.
SOURCEMOD 1.7 IS NOT FULLY SUPPORTED YET.
Installation:
1. Open up the Settings View in Atom
2. Click on 'Install' in the left column
3. Search for 'language-sourcepawn'
4. Install!
A direct link to the package is also available
here.
The changelog is visible by clicking on the package's settings and then selecting 'Open Changelog'. Update notifications are handled automagically by Atom; you just need to press the Update button.
The source code is available
here under the MIT license (just to be on the safe side, since I took lots of the regex from MIT-licensed packages).
__________________