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
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 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29
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 1 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 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 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)