Skip to content

Commit

Permalink
cleaned up the placeholder naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mattruby committed Oct 8, 2012
1 parent 184b68b commit 9b1f642
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Freemarker snippets for Sublime Text 2

Here's a few of most frequently used snippets for Freemarker. Please let me know if can think of any improvments.

Here's a few of most frequently used snippets for Freemarker. Please let me know if can think of any improvments.
4 changes: 2 additions & 2 deletions freemarker-assign.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
<#assign ${1:varName} = ${2}>
<#assign ${1:name} = ${2:value}>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>freemarkerassign</tabTrigger>
<tabTrigger>freemarker-assign</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
4 changes: 2 additions & 2 deletions freemarker-if.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
<#if ${1}>
${2}
<#if ${1:condition}>
${2:execute}
</#if>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
Expand Down
2 changes: 1 addition & 1 deletion freemarker-include.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
<#include ${1} />
<#include ${1:file} />
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>freemarker-include</tabTrigger>
Expand Down
4 changes: 2 additions & 2 deletions freemarker-list.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
<#list ${1} as ${2}>
${3}
<#list ${1:collection} as ${2:variable}>
${3:execute}
</#list>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
Expand Down
2 changes: 1 addition & 1 deletion freemarker-local.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
<#local ${1} = ${2} />
<#local ${1:name} = ${2:value} />
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>freemarker-local</tabTrigger>
Expand Down
4 changes: 2 additions & 2 deletions freemarker-macro.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<snippet>
<content><![CDATA[
<#macro ${1} ${2}>
<#macro ${1:name} ${2:variables}>
${3}
</#macro>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>freemarker-local</tabTrigger>
<tabTrigger>freemarker-macro</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>

0 comments on commit 9b1f642

Please sign in to comment.