From aaf73e39880b942fc5b388d26881a7dc6a38a3ca Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 30 Sep 2016 17:17:21 +0100 Subject: [PATCH] Allow C++ casts to be substring --- UltiSnips/cpp.snippets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index bfc1a3a..c844039 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -41,19 +41,19 @@ $0 }${1/\w+/ \/\/ $0/} endsnippet -snippet const_cast "Const cast" +snippet const_cast "Const cast" i const_cast<$1>($2)$0 endsnippet -snippet dynamic_cast "Dynamic cast" +snippet dynamic_cast "Dynamic cast" i dynamic_cast<$1>($2)$0 endsnippet -snippet static_cast "Static cast" +snippet static_cast "Static cast" i static_cast<$1>($2)$0 endsnippet -snippet reinterpret_cast "Reinterpret case" +snippet reinterpret_cast "Reinterpret case" i reinterpret_cast<$1>($2)$0 endsnippet