Skip to content

Commit

Permalink
Adding the meta.erb scope to our ERB commands.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@10202 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
JEG2 committed Jul 8, 2008
1 parent f1024d3 commit 9c744e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Commands/Toggle ERb Tags.tmCommand
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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">
<!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>
Expand Down Expand Up @@ -50,7 +50,7 @@ print result</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>source.ruby.embedded, source.ruby.rails.embedded, comment.block.erb</string>
<string>source.ruby.embedded, source.ruby.rails.embedded, comment.block.erb, meta.erb</string>
<key>uuid</key>
<string>835FAAC6-5431-436C-998B-241F7226B99B</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/Insert ERb's <% __ %> or <%= __ %>.tmSnippet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
Expand All @@ -9,7 +9,7 @@
<key>name</key>
<string>Insert ERb’s &lt;% .. %&gt; or &lt;%= .. %&gt;</string>
<key>scope</key>
<string>text.html, source.yaml</string>
<string>text.html, source.yaml, meta.erb</string>
<key>uuid</key>
<string>FDFABCB9-DF58-4469-AE11-5407A4FF4D70</string>
</dict>
Expand Down

0 comments on commit 9c744e0

Please sign in to comment.