Merge pull request #149 from docwhat/neosnippet-compat
Added descriptions for duplicated snippet names.
This commit is contained in:
commit
3e6ec24f6a
@ -107,7 +107,7 @@ snippet try
|
|||||||
${3}
|
${3}
|
||||||
}
|
}
|
||||||
# For Loop (same as c.snippet)
|
# For Loop (same as c.snippet)
|
||||||
snippet for
|
snippet for for (..) {..}
|
||||||
for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
|
for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
|
||||||
${4:/* code */}
|
${4:/* code */}
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ snippet beg
|
|||||||
rescue ${1:Exception} => ${2:e}
|
rescue ${1:Exception} => ${2:e}
|
||||||
end
|
end
|
||||||
|
|
||||||
snippet req
|
snippet req require
|
||||||
require "${1}"${2}
|
require "${1}"${2}
|
||||||
snippet #
|
snippet #
|
||||||
# =>
|
# =>
|
||||||
@ -575,7 +575,7 @@ snippet asre
|
|||||||
assert_response :${1:success}, @response.body${2}
|
assert_response :${1:success}, @response.body${2}
|
||||||
snippet asrj
|
snippet asrj
|
||||||
assert_rjs :${1:replace}, "${2:dom id}"
|
assert_rjs :${1:replace}, "${2:dom id}"
|
||||||
snippet ass
|
snippet ass assert_select(..)
|
||||||
assert_select '${1:path}', :${2:text} => '${3:inner_html' ${4:do}
|
assert_select '${1:path}', :${2:text} => '${3:inner_html' ${4:do}
|
||||||
snippet bf
|
snippet bf
|
||||||
before_filter :${1:method}
|
before_filter :${1:method}
|
||||||
|
@ -8,7 +8,7 @@ snippet apply-templates sort-by
|
|||||||
<xsl:sort select="${2:node}" order="${3:ascending}" data-type="${4:text}">${5}
|
<xsl:sort select="${2:node}" order="${3:ascending}" data-type="${4:text}">${5}
|
||||||
</xsl:apply-templates>${6}
|
</xsl:apply-templates>${6}
|
||||||
|
|
||||||
snippet apply-templates
|
snippet apply-templates plain
|
||||||
<xsl:apply-templates select="${1:*}" />${2}
|
<xsl:apply-templates select="${1:*}" />${2}
|
||||||
|
|
||||||
snippet attribute blank
|
snippet attribute blank
|
||||||
|
Loading…
Reference in New Issue
Block a user