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
  • 3 hours ago
  • 4 years ago

Installs

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