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

Swig

by enagorny ALL

Swig template syntax highlighting for Sublime Text.

Details

Installs

  • Total 6K
  • Win 2K
  • Mac 3K
  • Linux 1K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 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 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 2 0 0 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 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)