diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index 7c61b99..1cc3c6e 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -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