Sublime Text/TextMate syntax definition


#1

So I know I said I was working on my game, but then I built a new PC and went looking for Windows text editors and - long story short - ended up deciding I had to have ChoiceScript syntax highlighting in Sublime Text 3. @seryou did a syntax definition a while back, but I wanted a few more features so I wrote my own.

I should really do some indentation rules as well and bundle it properly, but I really need to stop writing these endless regular expressions and get back to working on the game. So here it is.

Install it for Sublime Text by saving the .tmPreferences file to your Packages\User directory (on my machine it’s C:\Users\Me\AppData\Roaming\Sublime Text 3\Packages\User, or find it through Preferences > Browse Packages in Sublime Text). You’re on your own if you want to use it with TextMate.

Have a screenshot

Download