Skip to content

enagorny/sublime-swig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (c) 2015 Jon Schlinkert Licensed under the MIT License (MIT)

About

Swig template syntax highlighting for Sublime Text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • XML 100.0%