diff --git a/snippets/c++-mode/forr b/snippets/c++-mode/forr new file mode 100644 index 00000000..685b97ed --- /dev/null +++ b/snippets/c++-mode/forr @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: for range +# key: forr +# -- +for (${1:type} ${2:name} : ${3:containerName}) { + $0 +} \ No newline at end of file diff --git a/snippets/c++-mode/lambda b/snippets/c++-mode/lambda new file mode 100644 index 00000000..d7ade5b3 --- /dev/null +++ b/snippets/c++-mode/lambda @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: lambda +# key: lambda +# -- +[${1:capture clause}](${2:parameters}) { + $0 +} \ No newline at end of file