restructuring classic snippets dir to conform to new parenting specs

This commit is contained in:
capitaomorte
2009-12-25 14:12:26 +00:00
parent 4426d044f6
commit 060e2ce5f1
28 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
cc-mode

View File

@@ -0,0 +1,3 @@
#name : v.begin(), v.end()
# --
${1:v}.begin(), $1.end

8
snippets/c++-mode/class Normal file
View File

@@ -0,0 +1,8 @@
#name : class ... { ... }
# --
class ${1:Name}
{
public:
${1:$(yas/substr text "[^: ]*")}($2);
virtual ~${1:$(yas/substr text "[^: ]*")}();
};

3
snippets/c++-mode/ns Normal file
View File

@@ -0,0 +1,3 @@
#name : namespace ...
# --
namespace

View File

@@ -0,0 +1,3 @@
#name : template <typename ...>
# --
template <typename ${T}>

4
snippets/c++-mode/using Normal file
View File

@@ -0,0 +1,4 @@
#name : using namespace ...
# --
using namespace ${std};
$0