Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (16 loc) · 2 KB

README.md

File metadata and controls

26 lines (16 loc) · 2 KB

EXAPUNKS Syntax

License Version

A package for Sublime Text 3 that provides syntax highlighting for the assembly language used in the game EXAPUNKS.

Installation

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.

Preview

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:

Preview

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.