ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

TXL syntax highlighting

by Mike Hoffert ST2/ST3

Syntax

Details

  • 2015.02.02.06.13.18
  • github.​com
  • github.​com
  • 3 years ago
  • 25 minutes ago
  • 4 years ago

Installs

  • Total 352
  • Win 208
  • OS X 81
  • Linux 63
May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9
Windows 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0
OS X 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text TXL syntax

This is a simple syntax highlighter for the TXL programming language. It was designed for Sublime Text 2, but should work for Sublime Text 3.

It supports the entire base TXL language as of version 10.5.

Only basic syntax highlighting is provided. The language is not fully scoped.

File associations

With this package, Sublime Text will recognize txl and grm files as having TXL syntax.

Installation

The easiest way to install is to just copy the sublime-package file (bundled with the releases) to the Installed Packages folder of your personal Sublime Text folder.

For Windows users, that's likely located in %appdata%\Sublime Text 2.

Alternatively, you can find it by going to Preferences > Browse Packages, and then going up one folder.

You could also install by copying the txl.tmLanguage file into a Sublime Text 2\Packages\txl folder (making the txl folder).

Building

The tmLanguage file is generated from the JSON-tmLanguage file, which requires the AAAPackageDev package to create. With the tmLanguage file loaded, press F7 to compile it into the tmLanguage file (which is a pList file).