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

Swig

by enagorny ST2/ST3

Swig template syntax highlighting for Sublime Text.

Details

Installs

  • Total 5K
  • Win 2K
  • OS X 3K
  • Linux 920
Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 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
Windows 0 1 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 2 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1
OS X 0 1 1 0 0 0 1 0 2 1 2 0 0 0 1 1 0 1 3 1 1 0 0 1 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0
Linux 0 0 2 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 1 1 0 1 1 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-swig

Syntax highlighting for Swig Templates in Sublime Text.

Installation

via Package Control (Recommended)

Package Control is a package manager for Sublime Text 2 & 3. If you don't already have it installed, follow the installation instructions here.

Once Package Control is installed, restart Sublime and follow these steps: * Open the Command Pallette (cmd + shift + p on OS X / Linux or ctrl + shift + p on Windows) * Type “install” and select “Package Control: Install Package” * Type “swig” and press Enter

All done! Package Control will automatically update the package whenever there's a new version.

manually

(You'll need to update it manually) Go to Sublime Text 3/Packages and:

git clone https://github.com/jonschlinkert/sublime-swig.git .

Next in Sublime Text, from the toolbar select the following: View > Syntax > Open all with current extension as... > Swig.

Examples

Basic highlighting

image

With YAML front matter

image

Author

Jon Schlinkert

Copyright and license

Copyright © 2015 Jon Schlinkert Licensed under the MIT License (MIT)