Permalink
Browse files

Adding preferences for commenting and uncommenting.

  • Loading branch information...
1 parent cac218e commit 9343686303cbe2f09ff6a5181d490b6fd03918be @dbp committed Aug 11, 2012
Showing with 53 additions and 0 deletions.
  1. +11 −0 RustComment.JSON-tmPreferences
  2. +42 −0 RustComment.tmPreferences
@@ -0,0 +1,11 @@
+{ "name": "Rust Comments",
+ "scope": "source.rust",
+ "settings": {
+ "shellVariables": [{"name": "TM_COMMENT_START", "value": "// "},
+ {"name": "TM_COMMENT_START_2", "value": "/*"},
+ {"name": "TM_COMMENT_END_2", "value": "*/"},
+ {"name": "TM_COMMENT_DISABLE_INDENT", "value": "no"}
+ ]
+ },
+ "uuid": "e36d2f49-c7b0-42fe-b902-a0ed36a258ca"
+}
View
@@ -0,0 +1,42 @@
+<?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>Rust Comments</string>
+ <key>scope</key>
+ <string>source.rust</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_START_2</string>
+ <key>value</key>
+ <string>/*</string>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_END_2</string>
+ <key>value</key>
+ <string>*/</string>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_DISABLE_INDENT</string>
+ <key>value</key>
+ <string>no</string>
+ </dict>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>e36d2f49-c7b0-42fe-b902-a0ed36a258ca</string>
+</dict>
+</plist>

0 comments on commit 9343686

Please sign in to comment.