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

October Twig Highlighter

by daftspunk ST3

This package adds syntax definitions for the OctoberCMS Twig engine. http://octobercms.com

Details

Installs

  • Total 780
  • Win 404
  • OS X 219
  • Linux 157
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 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8
Windows 2 2 2 2 1 1 0 4 0 3 2 1 4 3 1 0 1 4 2 6 3 1 1 2 5 3 4 0 1 0 1 5 6 1 3 1 2 2 1 2 1 0 0 1 2 2
OS X 1 0 0 1 0 2 1 0 0 2 2 2 3 2 0 0 1 2 1 0 1 0 1 0 1 2 4 0 0 0 1 1 4 0 6 1 1 1 0 0 3 1 0 0 1 1
Linux 0 1 0 1 0 3 1 0 1 3 1 1 0 2 0 1 0 0 1 0 0 0 1 3 1 1 2 0 0 0 1 1 3 1 2 1 1 0 0 0 0 3 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

October Twig Highlighter

This package adds syntax definitions for the OctoberCMS Twig engine.

Uses .sublime-syntax files that works with Sublime Text 3 and newer.

How to install with Sublime Package Control

Search for October Twig and install it, it's just that simple.

Restart Sublime Text after you install this package.

Sublime Text Manual Install

  • Download or clone this repository into [install-dir]/Packages/october-twig
  • Restart Sublime Text.

How to Contribute

  • To test a local version of the highlighter first uninstall the highlighter from package control.
  • Follow the manual installation process by cloning the repo into your packages directory.
  • Restart Sublime Text.
  • Open up the '[install-dir]/Packages/october-twig' folder into a new Sublime Text project.
  • Open up the october-twig.sublime-syntax file and make changes.
  • Provided is a test.htm file that holds most of the common uses for testing the regex, use this to verify your changes before and after you make them to ensure the changes you make do not break anything.
  • Send a pull request with a single change per request.

Thanks