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
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
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 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 1 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 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)