yasnippet/extras/imported/c-mode/Declarations/030 for int loop (fori).yasnippet
2009-08-30 22:16:44 +00:00

9 lines
218 B
Plaintext

# -*- mode: snippet -*-
# key: for
# name: For Loop
# expand-env: ((yas/wrap-around-region t))
# --
for(size_t ${2:i} = 0; $2 < ${1:count}; ${3:++i$(unless yas/modified-p (concat "++" (yas/field-value 2)))})
{
$0
}