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

Syntax highlighting for the EXAPUNKS assembly language in Sublime Text

License

Notifications You must be signed in to change notification settings

jwortmann/exapunks-syntax

Repository files navigation

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.

About

Syntax highlighting for the EXAPUNKS assembly language in Sublime Text

Topics

Resources

License

Stars

Watchers

Forks