A package for Sublime Text 3 that provides syntax highlighting for the assembly language used in the game EXAPUNKS.
Copy the files Exapunks.sublime-syntax and Exapunks.sublime-settings into a folder in the packages directory of Sublime Text, e.g. your User package.
To find the location of your User package, choose Preferences > Browse Packages...
within Sublime Text and open the folder User
.
By default, syntax highlighting will be applied for files with the extension .exa
or .exapunks
.
Alternatively you can manually select User/EXAPUNKS under View > Syntax
from the menu or add the expression NOTE EXAPUNKS
as a first line into your source code to automatically apply the EXAPUNKS syntax, whenever that file is opened.
To enable code completions, copy the file Exapunks.sublime-completions.
The actual highlighting colors depend on the chosen color scheme. The following image shows a preview for the default color schemes Monokai, Sixteen and Mariana:
Some of the syntax rules were updated to follow Sublime Text's scope naming guidelines and assign more specific scopes. Depending on the chosen color scheme, highlighting colors might have changed when compared to a previous version of the syntax definition file.