From 7574f919fe853343be78f88a1b8594c72e5ef28d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 23 Mar 2011 18:55:39 -0400 Subject: Updated language modules to use new snippet syntax. --- modules/cpp/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/cpp') diff --git a/modules/cpp/init.lua b/modules/cpp/init.lua index 8f661fe0..7c27a54a 100644 --- a/modules/cpp/init.lua +++ b/modules/cpp/init.lua @@ -103,9 +103,9 @@ _G.keys.cpp = { -- @name _G.snippets.cpp if type(_G.snippets) == 'table' then _G.snippets.cpp = { - rc = 'reinterpret_cast<%1>(%2(%(selected_text)))', - sc = 'static_cast<%1>(%2(%(selected_text)))', - cc = 'const_cast<%1>(%2(%(selected_text)))', + rc = 'reinterpret_cast<%1>(%2(%))', + sc = 'static_cast<%1>(%2(%))', + cc = 'const_cast<%1>(%2(%))', -- Lua snippets lf = 'static int %1(function)(lua_State *%2(lua)) {\n\t%0\n\treturn 0;\n}', -- cgit v1.2.3