Add fori snippet

This commit is contained in:
laurensmiers 2017-08-17 18:17:30 +02:00
parent e4abcfc8b1
commit 3cb79c1d9a

9
snippets/c-mode/fori Normal file
View file

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: for with loop variable
# key: fori
# --
int i = 0;
for (${1:i = 0}; ${2:i < N}; ${3:++i}) {
$0
}