Migrate better snippets to ultisnips
This commit is contained in:
parent
007bb6d30e
commit
78513af154
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user