Permalink
Browse files

Merge pull request #1 from colinsullivan/master

Simple change to allow the comment keyboard shortcut (cmd-/) to use Jinja comment syntax
  • Loading branch information...
2 parents 4fee885 + 84930fa commit bc78898a51c1389852cce49e0f2260eded2e23ed @ozan committed Oct 15, 2011
Showing with 38 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +36 −0 Preferences/Comments.tmPreferences
View
@@ -0,0 +1,2 @@
+*.tmPreferences.cache
+*.tmLanguage.cache
@@ -0,0 +1,36 @@
+<?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>name</key>
+ <string>Comments</string>
+ <key>scope</key>
+ <string>source.jinja, text.html.jinja</string>
+ <key>settings</key>
+ <dict>
+ <key>shellVariables</key>
+ <array>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_START</string>
+ <key>value</key>
+ <string>{#</string>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_END</string>
+ <key>value</key>
+ <string>#}</string>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_DISABLE_INDENT</string>
+ <key>value</key>
+ <string>yes</string>
+ </dict>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>A67A8BD9-A951-406F-9175-018DD4B52FD1</string>
+</dict>
+</plist>

0 comments on commit bc78898

Please sign in to comment.