Migrate better snippets to ultisnips

This commit is contained in:
Austen Adler 2016-10-01 15:59:21 -04:00
parent 007bb6d30e
commit 78513af154
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ int main(int argc, char *argv[])
endsnippet
snippet for "for loop (for)"
for (${2:i} = 0; $2 < ${1:count}; ${3:++$2}) {
for (int ${1:i} = 0; $1 < ${2:count}; $1++) {
${VISUAL}${0}
}
endsnippet

View File

@ -207,8 +207,8 @@ for (int ${1:i} = 0; $1 < ${2:10}; $1++)`!p nl(snip)`{
endsnippet
snippet for "for" b
for ($1; $2; $3)`!p nl(snip)`{
$0
for (int ${1:i} = 0; $1 < ${2:count}; $1++)`!p nl(snip)`{
${VISUAL}${0}
}
endsnippet