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
  • 1 hour ago
  • 4 years ago

Installs

  • Total 322
  • Win 195
  • OS X 68
  • Linux 59
Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30
Windows 0 0 1 0 0 0 0 0 2 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 1 0 1 0 0 1 0 1 1 2
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 2 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 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 1 0 0 1 0 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).