Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only enable macro when beside the closing }.

  • Loading branch information...
commit 4f2718ab6e944c1030127ca36cbedcec3f750860 1 parent 30d7001
@infininight infininight authored
Showing with 1 addition and 34 deletions.
  1. +1 −34 Macros/Overwrite } in #{ .. }.plist
View
35 Macros/Overwrite } in #{ .. }.plist
@@ -6,37 +6,6 @@
<array>
<dict>
<key>command</key>
- <string>moveRightAndModifySelection:</string>
- </dict>
- <dict>
- <key>argument</key>
- <dict>
- <key>action</key>
- <string>replaceAll</string>
- <key>findInProjectIgnoreCase</key>
- <false/>
- <key>findString</key>
- <string>((?m:.){2,})|\}|([^}])</string>
- <key>ignoreCase</key>
- <false/>
- <key>regularExpression</key>
- <true/>
- <key>replaceAllScope</key>
- <string>selection</string>
- <key>replaceString</key>
- <string>$1}$2</string>
- <key>wrapAround</key>
- <false/>
- </dict>
- <key>command</key>
- <string>findWithOptions:</string>
- </dict>
- <dict>
- <key>command</key>
- <string>moveLeft:</string>
- </dict>
- <dict>
- <key>command</key>
<string>moveRight:</string>
</dict>
</array>
@@ -45,9 +14,7 @@
<key>name</key>
<string>Overwrite '}' in #{ .. }</string>
<key>scope</key>
- <string>source.ruby string.quoted meta.embedded source.ruby</string>
- <key>scopeType</key>
- <string>local</string>
+ <string>source.ruby string meta.embedded.line.ruby punctuation.section.embedded.end</string>
<key>uuid</key>
<string>E5158F94-CC52-4424-A495-14EF9272653F</string>
</dict>
Please sign in to comment.
Something went wrong with that request. Please try again.