Skip to content

Commit

Permalink
escaped $ so it will work correctly and added a scope so this won't a…
Browse files Browse the repository at this point in the history
…pply to every open document in TextMate
  • Loading branch information
skurfer committed Jan 9, 2010
1 parent 7d51420 commit 23931bc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Puppet.tmbundle/Snippets/case.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>case ${0:$variable} {
'$1' =&gt; {
$2
},
default =&gt; {
$3
<string>case \$${1:variable} {
"${2:value}": {
${3:# code}
}
}
</string>
default: {
${4:# code}
}
}$0</string>
<key>name</key>
<string>case</string>
<key>scope</key>
<string>source.puppet</string>
<key>tabTrigger</key>
<string>case</string>
<key>uuid</key>
Expand Down

0 comments on commit 23931bc

Please sign in to comment.