Permalink
Browse files

Subtree merged in Jade.tmbundle

  • Loading branch information...
2 parents d0f896a + f6d4812 commit 98ac079ef9a5998db3af889f2e6efc2d2c7fdd31 @noniq noniq committed Nov 21, 2011
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env sh
+jade
+</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>^~@p</string>
+ <key>name</key>
+ <string>Preview</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.jade</string>
+ <key>uuid</key>
+ <string>FF542D1A-4247-4240-8348-DB30EB477256</string>
+</dict>
+</plist>
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env sh
+echo "&lt;pre style='font-family:Menlo; font-size: 12px; word-wrap: break-word;'&gt;"
+jade | sed 's/&lt;/\&amp;lt;/g' | sed 's/&gt;/\&amp;gt;/g'
+echo "&lt;/pre&gt;"
+</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>@b</string>
+ <key>name</key>
+ <string>Render</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.jade</string>
+ <key>uuid</key>
+ <string>4E2866A2-7FAE-4980-84E1-0E8AAB7C36FB</string>
+</dict>
+</plist>
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+line = ENV['TM_CURRENT_LINE']
+col = ENV['TM_LINE_INDEX'].to_i
+
+m = /^([ ]+\|[ ]*)/.match line
+
+if m and col &gt;= m[1].length
+ $stdout.write "\n#{m[1]}"
+else
+ $stdout.write "\n" + /^([ ]*)/.match(line)[1]
+end
+
+</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string></string>
+ <key>name</key>
+ <string>Return</string>
+ <key>output</key>
+ <string>afterSelectedText</string>
+ <key>scope</key>
+ <string>source.jade</string>
+ <key>uuid</key>
+ <string>45F19BDD-2A4D-4848-83D5-E5F1A7FF4726</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Comments</string>
+ <key>scope</key>
+ <string>source.jade</string>
+ <key>settings</key>
+ <dict>
+ <key>shellVariables</key>
+ <array>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_START</string>
+ <key>value</key>
+ <string>//- </string>
+ </dict>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>D2ABB2E0-EB25-11E0-9572-0800200C9A66</string>
+</dict>
+</plist>
View
@@ -0,0 +1,14 @@
+Jade.tmbundle
+---------------------
+
+A **TextMate Bundle** for the **Jade** templating language.
+
+Installation:
+
+ mkdir -p ~/Library/Application\ Support/TextMate/Bundles
+ cd ~/Library/Application\ Support/TextMate/Bundles
+ git clone git://github.com/miksago/jade-tmbundle Jade.tmbundle
+
+The bundle currently only includes syntax highlighting.
+
+Patches for additions are always welcome.
Oops, something went wrong.

0 comments on commit 98ac079

Please sign in to comment.