Twee2 SugarCube source code syntax highlighting for Sublime Text, based on monospaced's sublime-twee.
Twee2 is a command-line tool for writing hypertext stories…
The easiest way to install this is with Package Control.
- If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select "Package Control: Add Repository"
- Enter "https://github.com/clorax/sublime-twee2"
- Bring up the Command Palette again
- Select "Package Control: Install Package" (it'll take a few seconds)
- Select sublime-twee2 when the list appears (or type "twee2" and press enter)
- Package Control will automatically keep Twee up to date with the latest version.
Clone this repository into the Packages directory.
If you need to find the Packages directory, access the Console (Control+`) and enter the following command:
print sublime.packages_path()
Drop the Twee2.tmLanguage file into your Packages folder (Preferences > Browse Packages…).