Skip to content

Instantly share code, notes, and snippets.

@xxxObiWan
xxxObiWan / Smarty.tmLanguage
Created January 30, 2012 21:38
Sublime Text 2 - syntax highlight for Latte
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array/>
<key>foldingStartMarker</key>
<!-- /------Folding for latte: Start commands -->
<string>(&lt;(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\b.*?&gt;|\{\{?(if|foreach|capture|literal|php|section|strip|block|form)|\{\s*$)</string>
@xxxObiWan
xxxObiWan / Latte.tmLanguage.xml
Created February 3, 2012 10:13
Latte syntax definition for Sublime Text 2 [#nettefw #latte #php]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!--
- @author Michal Mikoláš <[email protected]>
- @license CC BY <http://creativecommons.org/licenses/by/3.0/cz/>
-->
<dict>
<key>fileTypes</key>
<array>
@xxxObiWan
xxxObiWan / Latte.tmLanguage.xml
Created February 4, 2012 15:26 — forked from NoxArt/Latte.tmLanguage.xml
Latte syntax definition for Sublime Text 2 [#nettefw #latte #php]
development moved to "Nette package for Sublime Text 2":https://github.com/Michal-Mikolas/Nette-package-for-Sublime-Text-2