Add C++ lambda function snippet

This commit is contained in:
Kenneth Benzie 2016-09-04 22:47:01 +01:00
parent ce0402522c
commit 8ed09b1597

View File

@ -56,3 +56,7 @@ endsnippet
snippet reinterpret_cast "Reinterpret case"
reinterpret_cast<$1>($2)$0
endsnippet
snippet [] "Labmda function"
[$1]($2)${3/(.*)/(?1: -> ::)/}$3 {$0}
endsnippet