Skip to content

Commit

Permalink
Merge pull request #5 from aliaksandr-trush/snippets
Browse files Browse the repository at this point in the history
Fix issue #4
  • Loading branch information
jsadeli committed Jul 29, 2012
2 parents 5c51a60 + f4e285e commit 7bbefa8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VBScript.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
<array>
<dict>
<key>include</key>
<string>source.asp.vb.net</string>
<string>source.vbs</string>
</dict>
</array>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions do.sublime-snippet → do-loop-until.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<content><![CDATA[
Do
$0
Loop ${1:While/Until} ${2:statement}
Loop Until ${1:statement}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>do</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.vbs</scope>
<description>Do While/Untile loop</description>
<description>Do Loop Until</description>
</snippet>
12 changes: 12 additions & 0 deletions do-loop-while.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<snippet>
<content><![CDATA[
Do
$0
Loop While ${1:statement}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>do</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.vbs</scope>
<description>Do Loop While</description>
</snippet>
12 changes: 12 additions & 0 deletions do-until-loop.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<snippet>
<content><![CDATA[
Do Until ${1:statement}
$0
Loop
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>do</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.vbs</scope>
<description>Do Until Loop</description>
</snippet>
12 changes: 12 additions & 0 deletions do-while-loop.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<snippet>
<content><![CDATA[
Do While ${1:statement}
$0
Loop
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>do</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.vbs</scope>
<description>Do While Loop</description>
</snippet>

0 comments on commit 7bbefa8

Please sign in to comment.