From c727e7647a1e2b2693001eaccfda203a28de0fac Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 30 Mar 2017 22:42:01 +0100 Subject: [PATCH] Allow C++ lambda snippet to be inline --- UltiSnips/cpp.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index 98cfdc4..f8429a6 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -57,7 +57,7 @@ snippet reinterpret_cast "Reinterpret case" i reinterpret_cast<$1>($2)$0 endsnippet -snippet [] "Labmda function" +snippet [] "Labmda function" i [$1]($2)${3/(.*)/(?1: -> ::)/}$3 {$0} endsnippet