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

TXL syntax highlighting

by Mike Hoffert ALL

Syntax

Details

  • 2015.02.02.06.13.18
  • github.​com
  • github.​com
  • 10 years ago
  • 1 month ago
  • 11 years ago

Installs

  • Total 739
  • Win 393
  • Mac 221
  • Linux 125
Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10
Windows 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 0 0 0 0 0 0
Mac 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 1 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 2 0 0 0 0 0 0 0 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).