Skip to content

Commit

Permalink
Change scope selector so command works in front of ‘@EnD’.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorbits committed Nov 10, 2009
1 parent de26e39 commit 821ca17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Commands/Paste Implementation : Interface.tmCommand
Expand Up @@ -39,7 +39,7 @@ end
TextMate::exit_show_tool_tip('No methods found on the clipboard') if methods.empty?
if ENV['TM_SCOPE'] =~ /meta.scope.interface.objc/
if ENV['TM_SCOPE'] !~ /meta.implementation.objc/
methods.each { |(proto, rettype)| puts "#{proto};" }
else
tabstop = 0
Expand Down Expand Up @@ -67,7 +67,7 @@ end
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>meta.scope.implementation.objc, meta.scope.interface.objc</string>
<string>meta.interface-or-protocol.objc, meta.implementation.objc</string>
<key>uuid</key>
<string>CB5EC7EC-35B7-4FD8-9045-31CCC379D474</string>
</dict>
Expand Down

0 comments on commit 821ca17

Please sign in to comment.