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
  • 8 years ago
  • 17 minutes ago
  • 9 years ago

Installs

  • Total 690
  • Win 371
  • Mac 203
  • Linux 116
Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 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
Windows 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 1 0 0 0 0 0 0 0 1 0 0 0
Mac 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 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 1 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).