summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--antlr-mode/project.yasnippet1
-rw-r--r--antlr-mode/property.yasnippet1
-rw-r--r--antlr-mode/target.yasnippet1
-rw-r--r--applescript-mode/bang.yasnippet1
-rw-r--r--c++-mode/<sstream>.yasnippet1
-rw-r--r--c++-mode/cerr.yasnippet1
-rw-r--r--c++-mode/cin.yasnippet1
-rw-r--r--c++-mode/const_iterator.yasnippet1
-rw-r--r--c++-mode/cstd.yasnippet1
-rw-r--r--c++-mode/delete.yasnippet1
-rw-r--r--c++-mode/delete[].yasnippet1
-rw-r--r--c++-mode/dynamic_casting.yasnippet1
-rw-r--r--c++-mode/enum.yasnippet1
-rw-r--r--c++-mode/ignore.yasnippet1
-rw-r--r--c++-mode/inline.yasnippet1
-rw-r--r--c++-mode/module.yasnippet1
-rw-r--r--c++-mode/operator!=.yasnippet1
-rw-r--r--c++-mode/operator+=.yasnippet1
-rw-r--r--c++-mode/operator<<.yasnippet1
-rw-r--r--c++-mode/operator=.yasnippet1
-rw-r--r--c++-mode/operator==.yasnippet1
-rw-r--r--c++-mode/operator>>.yasnippet1
-rw-r--r--c++-mode/pack.yasnippet1
-rw-r--r--c++-mode/std::.yasnippet1
-rw-r--r--c++-mode/str.yasnippet1
-rw-r--r--c++-mode/test_main.yasnippet1
-rw-r--r--c++-mode/this.yasnippet1
-rw-r--r--c++-mode/throw.yasnippet1
-rw-r--r--c++-mode/try.yasnippet1
-rw-r--r--c++-mode/typeid.yasnippet1
-rw-r--r--c-mode/apple.yasnippet1
-rw-r--r--c-mode/assert.yasnippet1
-rw-r--r--c-mode/compile.yasnippet1
-rw-r--r--c-mode/configuration.yasnippet1
-rw-r--r--c-mode/do.yasnippet1
-rw-r--r--c-mode/event.yasnippet1
-rw-r--r--c-mode/for.yasnippet1
-rw-r--r--c-mode/guard.yasnippet1
-rw-r--r--c-mode/here.yasnippet1
-rw-r--r--c-mode/include.yasnippet1
-rw-r--r--c-mode/inf.yasnippet1
-rw-r--r--c-mode/link.yasnippet1
-rw-r--r--c-mode/malloc.yasnippet1
-rw-r--r--c-mode/math.yasnippet1
-rw-r--r--c-mode/module.yasnippet1
-rw-r--r--c-mode/packed.yasnippet1
-rw-r--r--c-mode/printf.yasnippet1
-rw-r--r--c-mode/standalone.yasnippet1
-rw-r--r--c-mode/stdio.yasnippet1
-rw-r--r--c-mode/stdlib.yasnippet1
-rw-r--r--c-mode/string.yasnippet1
-rw-r--r--c-mode/struct.yasnippet1
-rw-r--r--c-mode/switch.yasnippet1
-rw-r--r--c-mode/ternary.yasnippet1
-rw-r--r--c-mode/test.yasnippet1
-rw-r--r--c-mode/typedef.yasnippet1
-rw-r--r--c-mode/union.yasnippet1
-rw-r--r--c-mode/unistd.yasnippet1
-rw-r--r--c-mode/while.yasnippet1
-rw-r--r--conf-unix-mode/section.yasnippet1
-rw-r--r--cpp-omnet-mode/EV.yasnippet1
-rw-r--r--cpp-omnet-mode/emit_signal.yasnippet1
-rw-r--r--cpp-omnet-mode/intuniform.yasnippet1
-rw-r--r--cpp-omnet-mode/math.yasnippet1
-rw-r--r--cpp-omnet-mode/nan.yasnippet1
-rw-r--r--cpp-omnet-mode/omnet.yasnippet1
-rw-r--r--cpp-omnet-mode/parameter_omnetpp.yasnippet1
-rw-r--r--cpp-omnet-mode/scheduleAt.yasnippet1
-rw-r--r--cpp-omnet-mode/uniform.yasnippet1
-rw-r--r--emacs-lisp-mode/defun.yasnippet1
-rw-r--r--emacs-lisp-mode/hash.yasnippet1
-rw-r--r--emacs-lisp-mode/minor_mode.yasnippet1
-rw-r--r--emacs-lisp-mode/word_regexp.yasnippet1
-rw-r--r--erc-mode/blist.yasnippet1
-rw-r--r--erc-mode/help.yasnippet1
-rw-r--r--go-mode/func.yasnippet1
-rw-r--r--go-mode/import.yasnippet1
-rw-r--r--go-mode/main.yasnippet1
-rw-r--r--go-mode/map.yasnippet1
-rw-r--r--go-mode/printf.yasnippet1
-rw-r--r--go-mode/switch.yasnippet1
-rw-r--r--go-mode/var.yasnippet1
-rw-r--r--groovy-mode/class.yasnippet1
-rw-r--r--groovy-mode/def.yasnippet1
-rw-r--r--groovy-mode/dict.yasnippet1
-rw-r--r--groovy-mode/for.yasnippet1
-rw-r--r--groovy-mode/println.yasnippet1
-rw-r--r--groovy-mode/times.yasnippet1
-rw-r--r--haskell-mode/case.yasnippet1
-rw-r--r--haskell-mode/doc.yasnippet1
-rw-r--r--haskell-mode/function.yasnippet1
-rw-r--r--haskell-mode/import.yasnippet1
-rw-r--r--haskell-mode/instance.yasnippet1
-rw-r--r--haskell-mode/main.yasnippet1
-rw-r--r--haskell-mode/module.yasnippet1
-rw-r--r--haskell-mode/new class.yasnippet1
-rw-r--r--haskell-mode/pragma.yasnippet1
-rw-r--r--haskell-mode/print.yasnippet1
-rw-r--r--java-mode/apr_assert.yasnippet1
-rw-r--r--java-mode/author.yasnippet1
-rw-r--r--java-mode/cls.yasnippet1
-rw-r--r--java-mode/doc.yasnippet1
-rw-r--r--java-mode/equals.yasnippet1
-rw-r--r--java-mode/file_class.yasnippet1
-rw-r--r--java-mode/for.yasnippet1
-rw-r--r--java-mode/fori.yasnippet1
-rw-r--r--java-mode/if.yasnippet1
-rw-r--r--java-mode/ife.yasnippet1
-rw-r--r--java-mode/import.yasnippet1
-rw-r--r--java-mode/iterator.yasnippet1
-rw-r--r--java-mode/main.yasnippet1
-rw-r--r--java-mode/method.yasnippet1
-rw-r--r--java-mode/param.yasnippet1
-rw-r--r--java-mode/printf.yasnippet1
-rw-r--r--java-mode/println.yasnippet1
-rw-r--r--java-mode/return.yasnippet1
-rw-r--r--java-mode/test.yasnippet1
-rw-r--r--java-mode/testClass.yasnippet1
-rw-r--r--java-mode/this.yasnippet1
-rw-r--r--java-mode/toString.yasnippet1
-rw-r--r--java-mode/try.yasnippet1
-rw-r--r--jde-mode/apr_assert.yasnippet1
-rw-r--r--jde-mode/cls.yasnippet1
-rw-r--r--jde-mode/file_class.yasnippet1
-rw-r--r--jde-mode/for.yasnippet1
-rw-r--r--jde-mode/fori.yasnippet1
-rw-r--r--jde-mode/if.yasnippet1
-rw-r--r--jde-mode/ife.yasnippet1
-rw-r--r--jde-mode/import.yasnippet1
-rw-r--r--jde-mode/javadoc.yasnippet1
-rw-r--r--jde-mode/main.yasnippet1
-rw-r--r--jde-mode/method.yasnippet1
-rw-r--r--jde-mode/new.yasnippet1
-rw-r--r--jde-mode/param.yasnippet1
-rw-r--r--jde-mode/println.yasnippet1
-rw-r--r--jde-mode/return.yasnippet1
-rw-r--r--jde-mode/testClass.yasnippet1
-rw-r--r--jde-mode/try.yasnippet1
-rw-r--r--lisp-interaction-mode/defun.yasnippet1
-rw-r--r--lua-mode/fun.yasnippet1
-rw-r--r--m4-mode/def.yasnippet1
-rw-r--r--makefile-automake-mode/noinst_HEADERS.yasnippet1
-rw-r--r--makefile-bsdmake-mode/PHONY.yasnippet1
-rw-r--r--makefile-bsdmake-mode/echo.yasnippet1
-rw-r--r--makefile-bsdmake-mode/gen.yasnippet1
-rw-r--r--makefile-bsdmake-mode/if.yasnippet1
-rw-r--r--makefile-bsdmake-mode/var.yasnippet1
-rw-r--r--ned-mode/chan.yasnippet1
-rw-r--r--ned-mode/connections.yasnippet1
-rw-r--r--ned-mode/for.yasnippet1
-rw-r--r--ned-mode/import.yasnippet1
-rw-r--r--ned-mode/network.yasnippet1
-rw-r--r--ned-mode/simple.yasnippet1
-rw-r--r--ned-mode/submodules.yasnippet1
-rw-r--r--nesc-mode/TOSSIM.yasnippet1
-rw-r--r--nesc-mode/author.yasnippet1
-rw-r--r--nesc-mode/command.yasnippet1
-rw-r--r--nesc-mode/dbg.yasnippet1
-rw-r--r--nesc-mode/event.yasnippet1
-rw-r--r--nesc-mode/ifdef.yasnippet1
-rw-r--r--nesc-mode/interface.yasnippet1
-rw-r--r--nesc-mode/module.yasnippet1
-rw-r--r--nesc-mode/nx.yasnippet1
-rw-r--r--nesc-mode/provides.yasnippet1
-rw-r--r--nesc-mode/sim.yasnippet1
-rw-r--r--nesc-mode/uint8_t.yasnippet1
-rw-r--r--nesc-mode/uses.yasnippet1
-rw-r--r--octave-mode/for.yasnippet1
-rw-r--r--octave-mode/function.yasnippet1
-rw-r--r--octave-mode/if.yasnippet1
-rw-r--r--org-mode/beamer.yasnippet1
-rw-r--r--org-mode/code.yasnippet1
-rw-r--r--org-mode/crypt.yasnippet1
-rw-r--r--org-mode/curly.yasnippet1
-rw-r--r--org-mode/dot.yasnippet1
-rw-r--r--org-mode/elisp.yasnippet1
-rw-r--r--org-mode/embedded.yasnippet1
-rw-r--r--org-mode/entry.yasnippet1
-rw-r--r--org-mode/img.yasnippet1
-rw-r--r--org-mode/latex.yasnippet1
-rw-r--r--org-mode/matrix.yasnippet1
-rw-r--r--org-mode/node.yasnippet1
-rw-r--r--org-mode/srcname.yasnippet1
-rw-r--r--org-mode/verse.yasnippet1
-rw-r--r--python-mode/builtin.yasnippet1
-rw-r--r--python-mode/cfor.yasnippet1
-rw-r--r--python-mode/cls.yasnippet1
-rw-r--r--python-mode/dec.yasnippet1
-rw-r--r--python-mode/def.yasnippet1
-rw-r--r--python-mode/deftest.yasnippet1
-rw-r--r--python-mode/docstring.yasnippet1
-rw-r--r--python-mode/doctest.yasnippet1
-rw-r--r--python-mode/eq.yasnippet1
-rw-r--r--python-mode/from.yasnippet1
-rw-r--r--python-mode/fsf.yasnippet1
-rw-r--r--python-mode/if.yasnippet1
-rw-r--r--python-mode/ife.yasnippet1
-rw-r--r--python-mode/import.yasnippet1
-rw-r--r--python-mode/init.yasnippet1
-rw-r--r--python-mode/iso.yasnippet1
-rw-r--r--python-mode/iter.yasnippet1
-rw-r--r--python-mode/lambda.yasnippet1
-rw-r--r--python-mode/list.yasnippet1
-rw-r--r--python-mode/logging.yasnippet1
-rw-r--r--python-mode/metaclass.yasnippet1
-rw-r--r--python-mode/not_impl.yasnippet1
-rw-r--r--python-mode/np.yasnippet1
-rw-r--r--python-mode/pack.yasnippet1
-rw-r--r--python-mode/prop.yasnippet1
-rw-r--r--python-mode/reg.yasnippet1
-rw-r--r--python-mode/scapy.yasnippet1
-rw-r--r--python-mode/self.yasnippet1
-rw-r--r--python-mode/setdef.yasnippet1
-rw-r--r--python-mode/static.yasnippet1
-rw-r--r--python-mode/str.yasnippet1
-rw-r--r--python-mode/super.yasnippet1
-rw-r--r--python-mode/test_class.yasnippet1
-rw-r--r--python-mode/test_file.yasnippet2
-rw-r--r--python-mode/testmod.yasnippet1
-rw-r--r--python-mode/trace.yasnippet1
-rw-r--r--python-mode/utf8.yasnippet1
-rw-r--r--python-mode/with.yasnippet1
-rw-r--r--python-mode/yaml.yasnippet1
-rw-r--r--rename_add_contr.py14
-rw-r--r--ruby-mode/GLOB.yasnippet1
-rw-r--r--ruby-mode/attribute.yasnippet1
-rw-r--r--ruby-mode/bench.yasnippet1
-rw-r--r--ruby-mode/def.yasnippet1
-rw-r--r--ruby-mode/init.yasnippet1
-rw-r--r--ruby-mode/test class.yasnippet1
-rw-r--r--ruby-mode/to_.yasnippet1
-rw-r--r--ruby-mode/tu.yasnippet1
-rw-r--r--sh-mode/bang.yasnippet1
-rw-r--r--sh-mode/for loop.yasnippet1
-rw-r--r--sh-mode/function.yasnippet1
-rw-r--r--sh-mode/if.yasnippet1
-rw-r--r--sh-mode/ife.yasnippet1
-rw-r--r--snippet-mode/cont.yasnippet1
-rw-r--r--snippet-mode/elisp.yasnippet1
-rw-r--r--snippet-mode/group.yasnippet1
-rw-r--r--text-mode/localvar.yasnippet1
-rw-r--r--text-mode/locvars.yasnippet1
-rw-r--r--text-mode/mode.yasnippet1
-rw-r--r--text-mode/rect.yasnippet1
-rw-r--r--text-mode/svg.yasnippet1
-rw-r--r--text-mode/switch.yasnippet1
-rw-r--r--text-mode/xxx.yasnippet1
-rw-r--r--tuareg-mode/let.yasnippet1
-rw-r--r--tuareg-mode/printf.yasnippet1
-rw-r--r--tuareg-mode/rec.yasnippet1
-rw-r--r--yaml-mode/entry.yasnippet1
-rw-r--r--yaml-mode/list.yasnippet1
-rw-r--r--yaml-mode/section.yasnippet1
253 files changed, 8 insertions, 259 deletions
diff --git a/antlr-mode/project.yasnippet b/antlr-mode/project.yasnippet
index 3ea022d..0506cb2 100644
--- a/antlr-mode/project.yasnippet
+++ b/antlr-mode/project.yasnippet
@@ -3,7 +3,6 @@
# key: proj
# contributor: Andrea crotti
# --
-
<project name="${1:test}" default="${2:compile}" basedir="${3:.}">
$0
diff --git a/antlr-mode/property.yasnippet b/antlr-mode/property.yasnippet
index 0348c50..c724d46 100644
--- a/antlr-mode/property.yasnippet
+++ b/antlr-mode/property.yasnippet
@@ -3,6 +3,5 @@
# key: prop
# contributor: Andrea crotti
# --
-
<property name="${1:name}" value="${2:value}" />
$0 \ No newline at end of file
diff --git a/antlr-mode/target.yasnippet b/antlr-mode/target.yasnippet
index 628573d..e728638 100644
--- a/antlr-mode/target.yasnippet
+++ b/antlr-mode/target.yasnippet
@@ -3,7 +3,6 @@
# key: target
# contributor: Andrea crotti
# --
-
<target name="${1:compile}" ${2:other}>
$0
</target> \ No newline at end of file
diff --git a/applescript-mode/bang.yasnippet b/applescript-mode/bang.yasnippet
index c1fc01a..7d97bbf 100644
--- a/applescript-mode/bang.yasnippet
+++ b/applescript-mode/bang.yasnippet
@@ -3,5 +3,4 @@
# key: !
# contributor: Andrea crotti
# --
-
#!/usr/bin/osascript \ No newline at end of file
diff --git a/c++-mode/<sstream>.yasnippet b/c++-mode/<sstream>.yasnippet
index da3ebd9..fc229da 100644
--- a/c++-mode/<sstream>.yasnippet
+++ b/c++-mode/<sstream>.yasnippet
@@ -3,5 +3,4 @@
# key: ss
# contributor: Andrea crotti
# --
-
#include <sstream> \ No newline at end of file
diff --git a/c++-mode/cerr.yasnippet b/c++-mode/cerr.yasnippet
index 3c8cf4b..d07a35a 100644
--- a/c++-mode/cerr.yasnippet
+++ b/c++-mode/cerr.yasnippet
@@ -3,5 +3,4 @@
# key: err
# contributor: Andrea crotti
# --
-
cerr << $0;
diff --git a/c++-mode/cin.yasnippet b/c++-mode/cin.yasnippet
index 7c9f61a..4a8d143 100644
--- a/c++-mode/cin.yasnippet
+++ b/c++-mode/cin.yasnippet
@@ -3,5 +3,4 @@
# key: cin
# contributor: Andrea crotti
# --
-
cin >> $0; \ No newline at end of file
diff --git a/c++-mode/const_iterator.yasnippet b/c++-mode/const_iterator.yasnippet
index 02e1d66..6898b9a 100644
--- a/c++-mode/const_iterator.yasnippet
+++ b/c++-mode/const_iterator.yasnippet
@@ -3,5 +3,4 @@
# key: iter
# contributor: Andrea crotti
# --
-
${1:std::vector<int>}::${2:const_}iterator ${3:iter};
diff --git a/c++-mode/cstd.yasnippet b/c++-mode/cstd.yasnippet
index fb7d5a5..9811e19 100644
--- a/c++-mode/cstd.yasnippet
+++ b/c++-mode/cstd.yasnippet
@@ -3,5 +3,4 @@
# key: cstd
# contributor: Andrea crotti
# --
-
#include <cstdlib> \ No newline at end of file
diff --git a/c++-mode/delete.yasnippet b/c++-mode/delete.yasnippet
index d945ea9..2aefd6b 100644
--- a/c++-mode/delete.yasnippet
+++ b/c++-mode/delete.yasnippet
@@ -3,5 +3,4 @@
# key: dl
# contributor: Andrea crotti
# --
-
delete ${1:pointer}; \ No newline at end of file
diff --git a/c++-mode/delete[].yasnippet b/c++-mode/delete[].yasnippet
index 12bde0c..4259a1d 100644
--- a/c++-mode/delete[].yasnippet
+++ b/c++-mode/delete[].yasnippet
@@ -3,5 +3,4 @@
# key: dla
# contributor: Andrea crotti
# --
-
delete[] ${1:arr}; \ No newline at end of file
diff --git a/c++-mode/dynamic_casting.yasnippet b/c++-mode/dynamic_casting.yasnippet
index d758860..9ac73c0 100644
--- a/c++-mode/dynamic_casting.yasnippet
+++ b/c++-mode/dynamic_casting.yasnippet
@@ -3,5 +3,4 @@
# key: cast
# contributor: Andrea crotti
# --
-
check_and_cast<${1:Type} *>(${2:msg}); \ No newline at end of file
diff --git a/c++-mode/enum.yasnippet b/c++-mode/enum.yasnippet
index 97accce..f324f1b 100644
--- a/c++-mode/enum.yasnippet
+++ b/c++-mode/enum.yasnippet
@@ -3,7 +3,6 @@
# key: enum
# contributor: Andrea crotti
# --
-
enum ${1:NAME}{
$0
}; \ No newline at end of file
diff --git a/c++-mode/ignore.yasnippet b/c++-mode/ignore.yasnippet
index 44f176b..70aa4d5 100644
--- a/c++-mode/ignore.yasnippet
+++ b/c++-mode/ignore.yasnippet
@@ -3,5 +3,4 @@
# key: ignore
# contributor: Andrea crotti
# --
-
${1:std::}cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); \ No newline at end of file
diff --git a/c++-mode/inline.yasnippet b/c++-mode/inline.yasnippet
index bfa3009..6519878 100644
--- a/c++-mode/inline.yasnippet
+++ b/c++-mode/inline.yasnippet
@@ -3,5 +3,4 @@
# key: il
# contributor: Andrea crotti
# --
-
inline $0 \ No newline at end of file
diff --git a/c++-mode/module.yasnippet b/c++-mode/module.yasnippet
index b848b78..0d158c6 100644
--- a/c++-mode/module.yasnippet
+++ b/c++-mode/module.yasnippet
@@ -3,7 +3,6 @@
# key: mod
# contributor: Andrea crotti
# --
-
class ${1:Class} : public cSimpleModule
{
$0
diff --git a/c++-mode/operator!=.yasnippet b/c++-mode/operator!=.yasnippet
index 5d8c4ae..06143fb 100644
--- a/c++-mode/operator!=.yasnippet
+++ b/c++-mode/operator!=.yasnippet
@@ -3,7 +3,6 @@
# key: !=
# contributor: Andrea crotti
# --
-
bool ${1:MyClass}::operator!=(const $1 &other) const {
return !(*this == other);
} \ No newline at end of file
diff --git a/c++-mode/operator+=.yasnippet b/c++-mode/operator+=.yasnippet
index 838fc23..d8b7e77 100644
--- a/c++-mode/operator+=.yasnippet
+++ b/c++-mode/operator+=.yasnippet
@@ -3,7 +3,6 @@
# key: +=
# contributor: Andrea crotti
# --
-
${1:MyClass} & $1::operator+=(const $1 &rhs)
{
$0
diff --git a/c++-mode/operator<<.yasnippet b/c++-mode/operator<<.yasnippet
index 9777674..42032c2 100644
--- a/c++-mode/operator<<.yasnippet
+++ b/c++-mode/operator<<.yasnippet
@@ -3,7 +3,6 @@
# key: <<
# contributor: Andrea crotti
# --
-
ostream& operator<<(ostream& s, const ${1:type}& ${2:c})
{
$0
diff --git a/c++-mode/operator=.yasnippet b/c++-mode/operator=.yasnippet
index 362f81b..f0aa9af 100644
--- a/c++-mode/operator=.yasnippet
+++ b/c++-mode/operator=.yasnippet
@@ -4,7 +4,6 @@
# where this is a reference to myself
# contributor: Andrea crotti
# --
-
${1:MyClass}& $1::operator=(const $1 &rhs) {
// Check for self-assignment!
if (this == &rhs) // Same object?
diff --git a/c++-mode/operator==.yasnippet b/c++-mode/operator==.yasnippet
index 94033e1..29ae7d6 100644
--- a/c++-mode/operator==.yasnippet
+++ b/c++-mode/operator==.yasnippet
@@ -3,7 +3,6 @@
# key: ==
# contributor: Andrea crotti
# --
-
bool ${1:MyClass}::operator==(const $1 &other) const {
$0
} \ No newline at end of file
diff --git a/c++-mode/operator>>.yasnippet b/c++-mode/operator>>.yasnippet
index 442ea10..98af2cf 100644
--- a/c++-mode/operator>>.yasnippet
+++ b/c++-mode/operator>>.yasnippet
@@ -3,7 +3,6 @@
# key: >>
# contributor: Andrea crotti
# --
-
istream& operator>>(istream& s, const ${1:type}& ${2:c})
{
$0
diff --git a/c++-mode/pack.yasnippet b/c++-mode/pack.yasnippet
index 43aa962..675ec1c 100644
--- a/c++-mode/pack.yasnippet
+++ b/c++-mode/pack.yasnippet
@@ -3,7 +3,6 @@
# key: pack
# contributor: Andrea crotti
# --
-
void cNetCommBuffer::pack(${1:type}) {
}
diff --git a/c++-mode/std::.yasnippet b/c++-mode/std::.yasnippet
index 4df3185..defe7bf 100644
--- a/c++-mode/std::.yasnippet
+++ b/c++-mode/std::.yasnippet
@@ -3,5 +3,4 @@
# key: st
# contributor: Andrea crotti
# --
-
std::$0 \ No newline at end of file
diff --git a/c++-mode/str.yasnippet b/c++-mode/str.yasnippet
index 661220b..da41d99 100644
--- a/c++-mode/str.yasnippet
+++ b/c++-mode/str.yasnippet
@@ -3,5 +3,4 @@
# key: str
# contributor: Andrea crotti
# --
-
#include <string> \ No newline at end of file
diff --git a/c++-mode/test_main.yasnippet b/c++-mode/test_main.yasnippet
index 0a4338a..5e941a8 100644
--- a/c++-mode/test_main.yasnippet
+++ b/c++-mode/test_main.yasnippet
@@ -3,7 +3,6 @@
# key: test_main
# contributor: Andrea crotti
# --
-
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
diff --git a/c++-mode/this.yasnippet b/c++-mode/this.yasnippet
index 2d1ee7b..dee89a1 100644
--- a/c++-mode/this.yasnippet
+++ b/c++-mode/this.yasnippet
@@ -3,5 +3,4 @@
# key: th
# contributor: Andrea crotti
# --
-
this \ No newline at end of file
diff --git a/c++-mode/throw.yasnippet b/c++-mode/throw.yasnippet
index 933a259..de31b5d 100644
--- a/c++-mode/throw.yasnippet
+++ b/c++-mode/throw.yasnippet
@@ -3,5 +3,4 @@
# key: throw
# contributor: Andrea crotti
# --
-
throw ${1:MyError}($0); \ No newline at end of file
diff --git a/c++-mode/try.yasnippet b/c++-mode/try.yasnippet
index e745bc5..27b9a57 100644
--- a/c++-mode/try.yasnippet
+++ b/c++-mode/try.yasnippet
@@ -3,7 +3,6 @@
# key: try
# contributor: Andrea crotti
# --
-
try {
$0
} catch (${1:type}) {
diff --git a/c++-mode/typeid.yasnippet b/c++-mode/typeid.yasnippet
index 7b255de..18b7c61 100644
--- a/c++-mode/typeid.yasnippet
+++ b/c++-mode/typeid.yasnippet
@@ -3,5 +3,4 @@
# key: type
# contributor: Andrea crotti
# --
-
typeid(${1:var}).name() \ No newline at end of file
diff --git a/c-mode/apple.yasnippet b/c-mode/apple.yasnippet
index 26e3e51..d7967a9 100644
--- a/c-mode/apple.yasnippet
+++ b/c-mode/apple.yasnippet
@@ -3,7 +3,6 @@
# key: apple
# contributor: Andrea crotti
# --
-
#ifdef __APPLE__
$0
#endif \ No newline at end of file
diff --git a/c-mode/assert.yasnippet b/c-mode/assert.yasnippet
index 19eb48d..85ba342 100644
--- a/c-mode/assert.yasnippet
+++ b/c-mode/assert.yasnippet
@@ -3,6 +3,5 @@
# key: ass
# contributor: Andrea crotti
# --
-
#include <assert.h>
$0 \ No newline at end of file
diff --git a/c-mode/compile.yasnippet b/c-mode/compile.yasnippet
index 8fa230e..3d0bbfd 100644
--- a/c-mode/compile.yasnippet
+++ b/c-mode/compile.yasnippet
@@ -3,5 +3,4 @@
# key: compile
# contributor: Andrea crotti
# --
-
// -*- compile-command: "${1:gcc -Wall -o ${2:dest} ${3:file}}" -*- \ No newline at end of file
diff --git a/c-mode/configuration.yasnippet b/c-mode/configuration.yasnippet
index 010ad1f..431b68a 100644
--- a/c-mode/configuration.yasnippet
+++ b/c-mode/configuration.yasnippet
@@ -3,7 +3,6 @@
# key: conf
# contributor: Andrea crotti
# --
-
configuration {
$0
} \ No newline at end of file
diff --git a/c-mode/do.yasnippet b/c-mode/do.yasnippet
index 4e6bfb0..80271d6 100644
--- a/c-mode/do.yasnippet
+++ b/c-mode/do.yasnippet
@@ -3,7 +3,6 @@
# key: do
# contributor: Andrea crotti
# --
-
do {
$0
} while (${1:condition}); \ No newline at end of file
diff --git a/c-mode/event.yasnippet b/c-mode/event.yasnippet
index 30795f1..35e1701 100644
--- a/c-mode/event.yasnippet
+++ b/c-mode/event.yasnippet
@@ -3,7 +3,6 @@
# key: event
# contributor: Andrea crotti
# --
-
event void ${1:Boot.booted()
{
$0
diff --git a/c-mode/for.yasnippet b/c-mode/for.yasnippet
index aaecd06..0b0db6d 100644
--- a/c-mode/for.yasnippet
+++ b/c-mode/for.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for (${1:i = 0}; ${2:i < N}; ${3:i++}) {
$0
}
diff --git a/c-mode/guard.yasnippet b/c-mode/guard.yasnippet
index cdd24f6..493975e 100644
--- a/c-mode/guard.yasnippet
+++ b/c-mode/guard.yasnippet
@@ -3,7 +3,6 @@
# key: guard
# contributor: Andrea crotti
# --
-
#ifndef ${1:NAME}_H
#define $1_H
diff --git a/c-mode/here.yasnippet b/c-mode/here.yasnippet
index 371bc63..dff2887 100644
--- a/c-mode/here.yasnippet
+++ b/c-mode/here.yasnippet
@@ -3,5 +3,4 @@
# key: here
# contributor: Andrea crotti
# --
-
printf("here\n"); \ No newline at end of file
diff --git a/c-mode/include.yasnippet b/c-mode/include.yasnippet
index 8c0a946..47cf00a 100644
--- a/c-mode/include.yasnippet
+++ b/c-mode/include.yasnippet
@@ -3,5 +3,4 @@
# key: #
# contributor: Andrea crotti
# --
-
#include $0 \ No newline at end of file
diff --git a/c-mode/inf.yasnippet b/c-mode/inf.yasnippet
index 6a1a17c..8d2dc32 100644
--- a/c-mode/inf.yasnippet
+++ b/c-mode/inf.yasnippet
@@ -3,7 +3,6 @@
# key: inf
# contributor: Andrea crotti
# --
-
for (;;) {
$0
} \ No newline at end of file
diff --git a/c-mode/link.yasnippet b/c-mode/link.yasnippet
index d7d7892..7746105 100644
--- a/c-mode/link.yasnippet
+++ b/c-mode/link.yasnippet
@@ -3,6 +3,5 @@
# key: ->
# contributor: Andrea crotti
# --
-
${1:Module} -> ${2:Component};
$0 \ No newline at end of file
diff --git a/c-mode/malloc.yasnippet b/c-mode/malloc.yasnippet
index 6f6d628..57fc9a6 100644
--- a/c-mode/malloc.yasnippet
+++ b/c-mode/malloc.yasnippet
@@ -3,6 +3,5 @@
# key: malloc
# contributor: Andrea crotti
# --
-
malloc(sizeof($1)${2: * ${3:3}});
$0 \ No newline at end of file
diff --git a/c-mode/math.yasnippet b/c-mode/math.yasnippet
index 696b3eb..9411dd3 100644
--- a/c-mode/math.yasnippet
+++ b/c-mode/math.yasnippet
@@ -3,6 +3,5 @@
# key: math
# contributor: Andrea crotti
# --
-
#include <math.h>
$0 \ No newline at end of file
diff --git a/c-mode/module.yasnippet b/c-mode/module.yasnippet
index d631393..63680c4 100644
--- a/c-mode/module.yasnippet
+++ b/c-mode/module.yasnippet
@@ -3,7 +3,6 @@
# key: mod
# contributor: Andrea crotti
# --
-
module ${1:Mod} @safe()
{
$0
diff --git a/c-mode/packed.yasnippet b/c-mode/packed.yasnippet
index 79bd963..a6492e7 100644
--- a/c-mode/packed.yasnippet
+++ b/c-mode/packed.yasnippet
@@ -3,5 +3,4 @@
# key: packed
# contributor: Andrea crotti
# --
-
__attribute__((__packed__))$0 \ No newline at end of file
diff --git a/c-mode/printf.yasnippet b/c-mode/printf.yasnippet
index c47c318..05bb1e9 100644
--- a/c-mode/printf.yasnippet
+++ b/c-mode/printf.yasnippet
@@ -3,5 +3,4 @@
# key: pr
# contributor: Andrea crotti
# --
-
printf("${1:format string}"${2: ,a0,a1}); \ No newline at end of file
diff --git a/c-mode/standalone.yasnippet b/c-mode/standalone.yasnippet
index 1ea7ac7..3ee8b4b 100644
--- a/c-mode/standalone.yasnippet
+++ b/c-mode/standalone.yasnippet
@@ -3,7 +3,6 @@
# key: standalone
# contributor: Andrea crotti
# --
-
#ifdef STANDALONE
int main(int argc, char *argv[]) {
diff --git a/c-mode/stdio.yasnippet b/c-mode/stdio.yasnippet
index 1c8c7a0..7912a7c 100644
--- a/c-mode/stdio.yasnippet
+++ b/c-mode/stdio.yasnippet
@@ -3,6 +3,5 @@
# key: io
# contributor: Andrea crotti
# --
-
#include <stdio.h>
$0 \ No newline at end of file
diff --git a/c-mode/stdlib.yasnippet b/c-mode/stdlib.yasnippet
index c24c04d..da5df9d 100644
--- a/c-mode/stdlib.yasnippet
+++ b/c-mode/stdlib.yasnippet
@@ -3,5 +3,4 @@
# key: std
# contributor: Andrea crotti
# --
-
#include <stdlib.h>
diff --git a/c-mode/string.yasnippet b/c-mode/string.yasnippet
index 9b2910e..f5603af 100644
--- a/c-mode/string.yasnippet
+++ b/c-mode/string.yasnippet
@@ -3,5 +3,4 @@
# key: str
# contributor: Andrea crotti
# --
-
#include <string.h> \ No newline at end of file
diff --git a/c-mode/struct.yasnippet b/c-mode/struct.yasnippet
index 42e6508..95d1bf1 100644
--- a/c-mode/struct.yasnippet
+++ b/c-mode/struct.yasnippet
@@ -3,5 +3,4 @@
# key: {
# contributor: Andrea crotti
# --
-
{.${1:field} = ${2:value}$0}; \ No newline at end of file
diff --git a/c-mode/switch.yasnippet b/c-mode/switch.yasnippet
index 2aef829..62d0f5d 100644
--- a/c-mode/switch.yasnippet
+++ b/c-mode/switch.yasnippet
@@ -3,7 +3,6 @@
# key: case
# contributor: Andrea crotti
# --
-
switch (${1:ch}) {
case ${2:const}:
${3:a = b};
diff --git a/c-mode/ternary.yasnippet b/c-mode/ternary.yasnippet
index cd41817..bb1f438 100644
--- a/c-mode/ternary.yasnippet
+++ b/c-mode/ternary.yasnippet
@@ -3,5 +3,4 @@
# key: ?
# contributor: Andrea crotti
# --
-
(${1:cond}) ? ${2:then} : ${3:else}; \ No newline at end of file
diff --git a/c-mode/test.yasnippet b/c-mode/test.yasnippet
index 38bf4b3..2c2c66a 100644
--- a/c-mode/test.yasnippet
+++ b/c-mode/test.yasnippet
@@ -3,7 +3,6 @@
# key: test
# contributor: Andrea crotti
# --
-
START_TEST (${1:test_name}) {
$0
}
diff --git a/c-mode/typedef.yasnippet b/c-mode/typedef.yasnippet
index 8a9627d..244b075 100644
--- a/c-mode/typedef.yasnippet
+++ b/c-mode/typedef.yasnippet
@@ -3,5 +3,4 @@
# key: typedef
# contributor: Andrea crotti
# --
-
typedef ${1:type} ${2:alias}; \ No newline at end of file
diff --git a/c-mode/union.yasnippet b/c-mode/union.yasnippet
index dcc0ccc..a28d48c 100644
--- a/c-mode/union.yasnippet
+++ b/c-mode/union.yasnippet
@@ -3,7 +3,6 @@
# key: union
# contributor: Andrea crotti
# --
-
typedef union {
$0
} ${1:name}; \ No newline at end of file
diff --git a/c-mode/unistd.yasnippet b/c-mode/unistd.yasnippet
index e50cbfe..5c55a7f 100644
--- a/c-mode/unistd.yasnippet
+++ b/c-mode/unistd.yasnippet
@@ -3,6 +3,5 @@
# key: uni
# contributor: Andrea crotti
# --
-
#include <unistd.h>
$0 \ No newline at end of file
diff --git a/c-mode/while.yasnippet b/c-mode/while.yasnippet
index 699b85b..007dcf2 100644
--- a/c-mode/while.yasnippet
+++ b/c-mode/while.yasnippet
@@ -3,7 +3,6 @@
# key: while
# contributor: Andrea crotti
# --
-
while (${1:condition}) {
$0
} \ No newline at end of file
diff --git a/conf-unix-mode/section.yasnippet b/conf-unix-mode/section.yasnippet
index df1e612..8ec349d 100644
--- a/conf-unix-mode/section.yasnippet
+++ b/conf-unix-mode/section.yasnippet
@@ -4,7 +4,6 @@
# section for xorg.conf
# contributor: Andrea crotti
# --
-
Section "${1:Device}"
$0
EndSection \ No newline at end of file
diff --git a/cpp-omnet-mode/EV.yasnippet b/cpp-omnet-mode/EV.yasnippet
index 0cf5083..927d5bd 100644
--- a/cpp-omnet-mode/EV.yasnippet
+++ b/cpp-omnet-mode/EV.yasnippet
@@ -3,5 +3,4 @@
# key: ev
# contributor: Andrea crotti
# --
-
EV << "${1:string}"$0; \ No newline at end of file
diff --git a/cpp-omnet-mode/emit_signal.yasnippet b/cpp-omnet-mode/emit_signal.yasnippet
index aa3ae3e..8e25ed2 100644
--- a/cpp-omnet-mode/emit_signal.yasnippet
+++ b/cpp-omnet-mode/emit_signal.yasnippet
@@ -3,5 +3,4 @@
# key: emit
# contributor: Andrea crotti
# --
-
emit(${1:signal_id}, ${2:long}); \ No newline at end of file
diff --git a/cpp-omnet-mode/intuniform.yasnippet b/cpp-omnet-mode/intuniform.yasnippet
index a109a38..b97cadb 100644
--- a/cpp-omnet-mode/intuniform.yasnippet
+++ b/cpp-omnet-mode/intuniform.yasnippet
@@ -3,5 +3,4 @@
# key: intuni
# contributor: Andrea crotti
# --
-
intuniform(${1:0}, ${2:1}) \ No newline at end of file
diff --git a/cpp-omnet-mode/math.yasnippet b/cpp-omnet-mode/math.yasnippet
index 019bfb4..5a35b3b 100644
--- a/cpp-omnet-mode/math.yasnippet
+++ b/cpp-omnet-mode/math.yasnippet
@@ -3,5 +3,4 @@
# key: math
# contributor: Andrea crotti
# --
-
#include <cmath> \ No newline at end of file
diff --git a/cpp-omnet-mode/nan.yasnippet b/cpp-omnet-mode/nan.yasnippet
index dccf20a..ef551ec 100644
--- a/cpp-omnet-mode/nan.yasnippet
+++ b/cpp-omnet-mode/nan.yasnippet
@@ -3,5 +3,4 @@
# key: nan
# contributor: Andrea crotti
# --
-
isnan(${1:x}) \ No newline at end of file
diff --git a/cpp-omnet-mode/omnet.yasnippet b/cpp-omnet-mode/omnet.yasnippet
index 423a6d0..2c99a18 100644
--- a/cpp-omnet-mode/omnet.yasnippet
+++ b/cpp-omnet-mode/omnet.yasnippet
@@ -3,5 +3,4 @@
# key: omnet
# contributor: Andrea crotti
# --
-
#include <omnetpp.h> \ No newline at end of file
diff --git a/cpp-omnet-mode/parameter_omnetpp.yasnippet b/cpp-omnet-mode/parameter_omnetpp.yasnippet
index 0316c88..dfa4fb5 100644
--- a/cpp-omnet-mode/parameter_omnetpp.yasnippet
+++ b/cpp-omnet-mode/parameter_omnetpp.yasnippet
@@ -3,5 +3,4 @@
# key: par
# contributor: Andrea crotti
# --
-
${1:var} = par("${2:par}"); \ No newline at end of file
diff --git a/cpp-omnet-mode/scheduleAt.yasnippet b/cpp-omnet-mode/scheduleAt.yasnippet
index 12468be..e53ff14 100644
--- a/cpp-omnet-mode/scheduleAt.yasnippet
+++ b/cpp-omnet-mode/scheduleAt.yasnippet
@@ -3,5 +3,4 @@
# key: sched
# contributor: Andrea crotti
# --
-
scheduleAt(simTime()+${1:1.0}, ${2:event}); \ No newline at end of file
diff --git a/cpp-omnet-mode/uniform.yasnippet b/cpp-omnet-mode/uniform.yasnippet
index 1a1d73c..b6ecc65 100644
--- a/cpp-omnet-mode/uniform.yasnippet
+++ b/cpp-omnet-mode/uniform.yasnippet
@@ -4,5 +4,4 @@
# uniform distribution
# contributor: Andrea crotti
# --
-
uniform(${1:0}, ${2:1}) \ No newline at end of file
diff --git a/emacs-lisp-mode/defun.yasnippet b/emacs-lisp-mode/defun.yasnippet
index 4c5d957..b72f23c 100644
--- a/emacs-lisp-mode/defun.yasnippet
+++ b/emacs-lisp-mode/defun.yasnippet
@@ -3,7 +3,6 @@
# key: def
# contributor: Andrea crotti
# --
-
(defun ${1:fun} (${2:args})
${3:(interactive${4: "P"})}
$0) \ No newline at end of file
diff --git a/emacs-lisp-mode/hash.yasnippet b/emacs-lisp-mode/hash.yasnippet
index ab3c409..5211d41 100644
--- a/emacs-lisp-mode/hash.yasnippet
+++ b/emacs-lisp-mode/hash.yasnippet
@@ -3,5 +3,4 @@
# key: hash
# contributor: Andrea crotti
# --
-
make-hash-table ${1:options} \ No newline at end of file
diff --git a/emacs-lisp-mode/minor_mode.yasnippet b/emacs-lisp-mode/minor_mode.yasnippet
index 87656ea..5cef332 100644
--- a/emacs-lisp-mode/minor_mode.yasnippet
+++ b/emacs-lisp-mode/minor_mode.yasnippet
@@ -4,7 +4,6 @@
# contributor: Andrea Crotti
# contributor: Andrea crotti
# --
-
(defvar ${1:mode}-modeline-indicator " ${2:INDICATOR}"
"call ($1-install-mode) again if this is changed")
diff --git a/emacs-lisp-mode/word_regexp.yasnippet b/emacs-lisp-mode/word_regexp.yasnippet
index a9aa9dd..8926b89 100644
--- a/emacs-lisp-mode/word_regexp.yasnippet
+++ b/emacs-lisp-mode/word_regexp.yasnippet
@@ -3,5 +3,4 @@
# key: <
# contributor: Andrea crotti
# --
-
"\\_<${1:word}\\_>" \ No newline at end of file
diff --git a/erc-mode/blist.yasnippet b/erc-mode/blist.yasnippet
index bd3c2dc..57f6302 100644
--- a/erc-mode/blist.yasnippet
+++ b/erc-mode/blist.yasnippet
@@ -3,5 +3,4 @@
# key: b
# contributor: Andrea crotti
# --
-
blist
diff --git a/erc-mode/help.yasnippet b/erc-mode/help.yasnippet
index 8359fe7..73492ce 100644
--- a/erc-mode/help.yasnippet
+++ b/erc-mode/help.yasnippet
@@ -3,5 +3,4 @@
# key: h
# contributor: Andrea crotti
# --
-
help $0 \ No newline at end of file
diff --git a/go-mode/func.yasnippet b/go-mode/func.yasnippet
index 308aaf8..c9a0d5f 100644
--- a/go-mode/func.yasnippet
+++ b/go-mode/func.yasnippet
@@ -3,7 +3,6 @@
# key: func
# contributor: Andrea crotti
# --
-
func ${1:fun}(${2:args}) {
$0
} \ No newline at end of file
diff --git a/go-mode/import.yasnippet b/go-mode/import.yasnippet
index 7ad2a73..c956304 100644
--- a/go-mode/import.yasnippet
+++ b/go-mode/import.yasnippet
@@ -3,6 +3,5 @@
# key: imp
# contributor: Andrea crotti
# --
-
import ${1:package}
$0 \ No newline at end of file
diff --git a/go-mode/main.yasnippet b/go-mode/main.yasnippet
index 18557a8..1706f27 100644
--- a/go-mode/main.yasnippet
+++ b/go-mode/main.yasnippet
@@ -3,7 +3,6 @@
# key: main
# contributor: Andrea crotti
# --
-
func main() {
${1:fmt.Printf("Hello, 世界\n")}
$0
diff --git a/go-mode/map.yasnippet b/go-mode/map.yasnippet
index 2fd8296..e3d630e 100644
--- a/go-mode/map.yasnippet
+++ b/go-mode/map.yasnippet
@@ -3,7 +3,6 @@
# key: map
# contributor: Andrea crotti
# --
-
map[${1:string}] ${2:int} {
${3:"X": 100,}
$0
diff --git a/go-mode/printf.yasnippet b/go-mode/printf.yasnippet
index bc22ed2..082308b 100644
--- a/go-mode/printf.yasnippet
+++ b/go-mode/printf.yasnippet
@@ -3,6 +3,5 @@
# key: pr
# contributor: Andrea crotti
# --
-
fmt.Printf("${1:fmt}\n"${2:,str})
$0 \ No newline at end of file
diff --git a/go-mode/switch.yasnippet b/go-mode/switch.yasnippet
index 323d42d..bdc7112 100644
--- a/go-mode/switch.yasnippet
+++ b/go-mode/switch.yasnippet
@@ -3,7 +3,6 @@
# key: switch
# contributor: Andrea crotti
# --
-
switch {
case ${1:cond}:
$0
diff --git a/go-mode/var.yasnippet b/go-mode/var.yasnippet
index 9847c5c..1c921a8 100644
--- a/go-mode/var.yasnippet
+++ b/go-mode/var.yasnippet
@@ -3,6 +3,5 @@
# key: var
# contributor: Andrea crotti
# --
-
var ${1:ok} ${2:bool}
$0 \ No newline at end of file
diff --git a/groovy-mode/class.yasnippet b/groovy-mode/class.yasnippet
index e291cf1..b9319d5 100644
--- a/groovy-mode/class.yasnippet
+++ b/groovy-mode/class.yasnippet
@@ -3,7 +3,6 @@
# key: class
# contributor: Andrea crotti
# --
-
class ${1:Class} {
$0
} \ No newline at end of file
diff --git a/groovy-mode/def.yasnippet b/groovy-mode/def.yasnippet
index 7a1f6a4..f19a5f1 100644
--- a/groovy-mode/def.yasnippet
+++ b/groovy-mode/def.yasnippet
@@ -3,7 +3,6 @@
# key: def
# contributor: Andrea crotti
# --
-
def ${1:method}(${2:args}) {
$0
} \ No newline at end of file
diff --git a/groovy-mode/dict.yasnippet b/groovy-mode/dict.yasnippet
index 0b2656b..6ef7ffc 100644
--- a/groovy-mode/dict.yasnippet
+++ b/groovy-mode/dict.yasnippet
@@ -3,5 +3,4 @@
# key: dict
# contributor: Andrea crotti
# --
-
${1:dict} = [${2:key} : ${3:value}$0] \ No newline at end of file
diff --git a/groovy-mode/for.yasnippet b/groovy-mode/for.yasnippet
index 0bc09f2..2e53b9a 100644
--- a/groovy-mode/for.yasnippet
+++ b/groovy-mode/for.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for (${1:var} in ${2:iter}) {
$0
}
diff --git a/groovy-mode/println.yasnippet b/groovy-mode/println.yasnippet
index 245626c..3d6abd4 100644
--- a/groovy-mode/println.yasnippet
+++ b/groovy-mode/println.yasnippet
@@ -3,6 +3,5 @@
# key: pr
# contributor: Andrea crotti
# --
-
println ${1:"string"}
$0 \ No newline at end of file
diff --git a/groovy-mode/times.yasnippet b/groovy-mode/times.yasnippet
index 1f6a9a6..e3a316c 100644
--- a/groovy-mode/times.yasnippet
+++ b/groovy-mode/times.yasnippet
@@ -3,7 +3,6 @@
# key: times
# contributor: Andrea crotti
# --
-
${1:10}.times {
$0
} . \ No newline at end of file
diff --git a/haskell-mode/case.yasnippet b/haskell-mode/case.yasnippet
index 66fdd4f..364f470 100644
--- a/haskell-mode/case.yasnippet
+++ b/haskell-mode/case.yasnippet
@@ -3,7 +3,6 @@
# key: case
# contributor: Andrea crotti
# --
-
case ${1:var} of
${2:cond} -> ${3:value}
$0
diff --git a/haskell-mode/doc.yasnippet b/haskell-mode/doc.yasnippet
index bf7f153..556f788 100644
--- a/haskell-mode/doc.yasnippet
+++ b/haskell-mode/doc.yasnippet
@@ -3,7 +3,6 @@
# key: doc
# contributor: Andrea crotti
# --
-
{-
$0
-} \ No newline at end of file
diff --git a/haskell-mode/function.yasnippet b/haskell-mode/function.yasnippet
index 07fc4af..8ce6076 100644
--- a/haskell-mode/function.yasnippet
+++ b/haskell-mode/function.yasnippet
@@ -4,6 +4,5 @@
# contributor: Andrea Crotti
# contributor: Andrea crotti
# --
-
${1:function-name} :: ${2:type}
$1 ${3:arguments} $0 \ No newline at end of file
diff --git a/haskell-mode/import.yasnippet b/haskell-mode/import.yasnippet
index 313e1b8..55a1380 100644
--- a/haskell-mode/import.yasnippet
+++ b/haskell-mode/import.yasnippet
@@ -3,5 +3,4 @@
# key: import
# contributor: Andrea crotti
# --
-
import${1: qualified} ${2:Module${3:(symbols)}}${4: as ${5:alias}} \ No newline at end of file
diff --git a/haskell-mode/instance.yasnippet b/haskell-mode/instance.yasnippet
index 3f7da95..2cb4b06 100644
--- a/haskell-mode/instance.yasnippet
+++ b/haskell-mode/instance.yasnippet
@@ -3,6 +3,5 @@
# key: instance
# contributor: Andrea crotti
# --
-
instance ${1:${2:(Show a)} => }${3:Ord} ${4:DataType} where
$0
diff --git a/haskell-mode/main.yasnippet b/haskell-mode/main.yasnippet
index d94a965..e3ec65d 100644
--- a/haskell-mode/main.yasnippet
+++ b/haskell-mode/main.yasnippet
@@ -3,5 +3,4 @@
# key: main
# contributor: Andrea crotti
# --
-
main = do $0 \ No newline at end of file
diff --git a/haskell-mode/module.yasnippet b/haskell-mode/module.yasnippet
index 3814e67..fc9f0f4 100644
--- a/haskell-mode/module.yasnippet
+++ b/haskell-mode/module.yasnippet
@@ -3,6 +3,5 @@
# key: mod
# contributor: Andrea crotti
# --
-
module ${1:Module} where
$0 \ No newline at end of file
diff --git a/haskell-mode/new class.yasnippet b/haskell-mode/new class.yasnippet
index 32878c4..a105cc6 100644
--- a/haskell-mode/new class.yasnippet
+++ b/haskell-mode/new class.yasnippet
@@ -3,6 +3,5 @@
# key: class
# contributor: Andrea crotti
# --
-
class ${1:Class Name} where
$0 \ No newline at end of file
diff --git a/haskell-mode/pragma.yasnippet b/haskell-mode/pragma.yasnippet
index 2242e18..cfcaa74 100644
--- a/haskell-mode/pragma.yasnippet
+++ b/haskell-mode/pragma.yasnippet
@@ -3,5 +3,4 @@
# key: {
# contributor: Andrea crotti
# --
-
{-# ${1:PRAGMA} #-} \ No newline at end of file
diff --git a/haskell-mode/print.yasnippet b/haskell-mode/print.yasnippet
index 455ead3..e61166b 100644
--- a/haskell-mode/print.yasnippet
+++ b/haskell-mode/print.yasnippet
@@ -3,5 +3,4 @@
# key: pr
# contributor: Andrea crotti
# --
-
print $0 \ No newline at end of file
diff --git a/java-mode/apr_assert.yasnippet b/java-mode/apr_assert.yasnippet
index d96e9d2..8720db1 100644
--- a/java-mode/apr_assert.yasnippet
+++ b/java-mode/apr_assert.yasnippet
@@ -3,7 +3,6 @@
# key: apr_assert
# contributor: Andrea crotti
# --
-
if (Globals.useAssertions) {
${1:assert ..};
}
diff --git a/java-mode/author.yasnippet b/java-mode/author.yasnippet
index 5441a91..4a9f716 100644
--- a/java-mode/author.yasnippet
+++ b/java-mode/author.yasnippet
@@ -3,5 +3,4 @@
# key: author
# contributor: Andrea crotti
# --
-
@author Andrea Crotti, Marius Grysla, Oscar Dustmann \ No newline at end of file
diff --git a/java-mode/cls.yasnippet b/java-mode/cls.yasnippet
index e53f132..211d169 100644
--- a/java-mode/cls.yasnippet
+++ b/java-mode/cls.yasnippet
@@ -3,7 +3,6 @@
# key: cls
# contributor: Andrea crotti
# --
-
${1:public }class ${2:Class}$3 {
${4:public $2($5) {
$0
diff --git a/java-mode/doc.yasnippet b/java-mode/doc.yasnippet
index 57c8a65..4e1534d 100644
--- a/java-mode/doc.yasnippet
+++ b/java-mode/doc.yasnippet
@@ -3,7 +3,6 @@
# key: /*
# contributor: Andrea crotti
# --
-
/**
* ${1:documentation}
*/ \ No newline at end of file
diff --git a/java-mode/equals.yasnippet b/java-mode/equals.yasnippet
index e9f1ccf..9024dd5 100644
--- a/java-mode/equals.yasnippet
+++ b/java-mode/equals.yasnippet
@@ -3,7 +3,6 @@
# key: eq
# contributor: Andrea crotti
# --
-
public boolean equals(${1:Class} other) {
$0
} \ No newline at end of file
diff --git a/java-mode/file_class.yasnippet b/java-mode/file_class.yasnippet
index 4a905a9..0d7e2d2 100644
--- a/java-mode/file_class.yasnippet
+++ b/java-mode/file_class.yasnippet
@@ -3,7 +3,6 @@
# key: file
# contributor: Andrea crotti
# --
-
public class ${1:`(let ((fn (file-name-nondirectory
(file-name-sans-extension
(or (buffer-file-name)
diff --git a/java-mode/for.yasnippet b/java-mode/for.yasnippet
index c07cf14..47cf4c2 100644
--- a/java-mode/for.yasnippet
+++ b/java-mode/for.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for (${1:int i = 0}; ${2:i < N}; ${3:i++}) {
$0
} \ No newline at end of file
diff --git a/java-mode/fori.yasnippet b/java-mode/fori.yasnippet
index e691c3f..3bbdfc7 100644
--- a/java-mode/fori.yasnippet
+++ b/java-mode/fori.yasnippet
@@ -3,7 +3,6 @@
# key: fori
# contributor: Andrea crotti
# --
-
for (${1:Type el} : ${2:iterator}) {
$0
} \ No newline at end of file
diff --git a/java-mode/if.yasnippet b/java-mode/if.yasnippet
index 53c6297..8b27a68 100644
--- a/java-mode/if.yasnippet
+++ b/java-mode/if.yasnippet
@@ -3,7 +3,6 @@
# key: if
# contributor: Andrea crotti
# --
-
if (${1:condition}) {
$0
} \ No newline at end of file
diff --git a/java-mode/ife.yasnippet b/java-mode/ife.yasnippet
index a824391..04da22d 100644
--- a/java-mode/ife.yasnippet
+++ b/java-mode/ife.yasnippet
@@ -3,7 +3,6 @@
# key: ife
# contributor: Andrea crotti
# --
-
if (${1:cond}) {
$2
}
diff --git a/java-mode/import.yasnippet b/java-mode/import.yasnippet
index 0faa06a..c66772f 100644
--- a/java-mode/import.yasnippet
+++ b/java-mode/import.yasnippet
@@ -3,6 +3,5 @@
# key: imp
# contributor: Andrea crotti
# --
-
import ${1:System.};
$0 \ No newline at end of file
diff --git a/java-mode/iterator.yasnippet b/java-mode/iterator.yasnippet
index 56e2eab..55f642a 100644
--- a/java-mode/iterator.yasnippet
+++ b/java-mode/iterator.yasnippet
@@ -3,7 +3,6 @@
# key: iterator
# contributor: Andrea crotti
# --
-
public Iterator<${1:type}> iterator() {
$0
}
diff --git a/java-mode/main.yasnippet b/java-mode/main.yasnippet
index 1b90de2..aa20636 100644
--- a/java-mode/main.yasnippet
+++ b/java-mode/main.yasnippet
@@ -3,7 +3,6 @@
# key: main
# contributor: Andrea crotti
# --
-
public static void main(String[] args) {
$0
} \ No newline at end of file
diff --git a/java-mode/method.yasnippet b/java-mode/method.yasnippet
index 87fc0cd..c8df4b1 100644
--- a/java-mode/method.yasnippet
+++ b/java-mode/method.yasnippet
@@ -3,7 +3,6 @@
# key: method
# contributor: Andrea crotti
# --
-
${1:public }${2:void} ${3:name} (${4:args}) {
$0
} \ No newline at end of file
diff --git a/java-mode/param.yasnippet b/java-mode/param.yasnippet
index 3f5c322..bf30787 100644
--- a/java-mode/param.yasnippet
+++ b/java-mode/param.yasnippet
@@ -3,5 +3,4 @@
# key: param
# contributor: Andrea crotti
# --
-
@param ${1:paramater} $0 \ No newline at end of file
diff --git a/java-mode/printf.yasnippet b/java-mode/printf.yasnippet
index f706b7f..8df6fc9 100644
--- a/java-mode/printf.yasnippet
+++ b/java-mode/printf.yasnippet
@@ -3,5 +3,4 @@
# key: printf
# contributor: Andrea crotti
# --
-
System.out.printf("$0%n"); \ No newline at end of file
diff --git a/java-mode/println.yasnippet b/java-mode/println.yasnippet
index 493050d..453ede1 100644
--- a/java-mode/println.yasnippet
+++ b/java-mode/println.yasnippet
@@ -3,5 +3,4 @@
# key: pr
# contributor: Andrea crotti
# --
-
System.out.println(${1:"${2:text}"}); \ No newline at end of file
diff --git a/java-mode/return.yasnippet b/java-mode/return.yasnippet
index d96be07..afc0153 100644
--- a/java-mode/return.yasnippet
+++ b/java-mode/return.yasnippet
@@ -3,5 +3,4 @@
# key: ret
# contributor: Andrea crotti
# --
-
@return ${1:description} \ No newline at end of file
diff --git a/java-mode/test.yasnippet b/java-mode/test.yasnippet
index 7fa02b7..76bb3d1 100644
--- a/java-mode/test.yasnippet
+++ b/java-mode/test.yasnippet
@@ -3,7 +3,6 @@
# key: test
# contributor: Andrea crotti
# --
-
@Test
public void test_${1:Case}() {
$0
diff --git a/java-mode/testClass.yasnippet b/java-mode/testClass.yasnippet
index 47be826..c1fd7d2 100644
--- a/java-mode/testClass.yasnippet
+++ b/java-mode/testClass.yasnippet
@@ -3,7 +3,6 @@
# key: tc
# contributor: Andrea crotti
# --
-
import junit.framework.*;
import junit.textui.*;
diff --git a/java-mode/this.yasnippet b/java-mode/this.yasnippet
index ceb5dda..3beac15 100644
--- a/java-mode/this.yasnippet
+++ b/java-mode/this.yasnippet
@@ -3,5 +3,4 @@
# key: .
# contributor: Andrea crotti
# --
-
this.$0 \ No newline at end of file
diff --git a/java-mode/toString.yasnippet b/java-mode/toString.yasnippet
index 08d9076..222e617 100644
--- a/java-mode/toString.yasnippet
+++ b/java-mode/toString.yasnippet
@@ -3,7 +3,6 @@
# key: toStr
# contributor: Andrea crotti
# --
-
public String toString() {
$0
} \ No newline at end of file
diff --git a/java-mode/try.yasnippet b/java-mode/try.yasnippet
index 0b8ec57..5b4f49b 100644
--- a/java-mode/try.yasnippet
+++ b/java-mode/try.yasnippet
@@ -3,7 +3,6 @@
# key: try
# contributor: Andrea crotti
# --
-
try {
$0
}
diff --git a/jde-mode/apr_assert.yasnippet b/jde-mode/apr_assert.yasnippet
index d96e9d2..8720db1 100644
--- a/jde-mode/apr_assert.yasnippet
+++ b/jde-mode/apr_assert.yasnippet
@@ -3,7 +3,6 @@
# key: apr_assert
# contributor: Andrea crotti
# --
-
if (Globals.useAssertions) {
${1:assert ..};
}
diff --git a/jde-mode/cls.yasnippet b/jde-mode/cls.yasnippet
index d21d21f..67f3b17 100644
--- a/jde-mode/cls.yasnippet
+++ b/jde-mode/cls.yasnippet
@@ -3,7 +3,6 @@
# key: cls
# contributor: Andrea crotti
# --
-
class ${1:Class} {
$0
} \ No newline at end of file
diff --git a/jde-mode/file_class.yasnippet b/jde-mode/file_class.yasnippet
index 4a905a9..0d7e2d2 100644
--- a/jde-mode/file_class.yasnippet
+++ b/jde-mode/file_class.yasnippet
@@ -3,7 +3,6 @@
# key: file
# contributor: Andrea crotti
# --
-
public class ${1:`(let ((fn (file-name-nondirectory
(file-name-sans-extension
(or (buffer-file-name)
diff --git a/jde-mode/for.yasnippet b/jde-mode/for.yasnippet
index c07cf14..47cf4c2 100644
--- a/jde-mode/for.yasnippet
+++ b/jde-mode/for.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for (${1:int i = 0}; ${2:i < N}; ${3:i++}) {
$0
} \ No newline at end of file
diff --git a/jde-mode/fori.yasnippet b/jde-mode/fori.yasnippet
index 6ea074e..eb4d43a 100644
--- a/jde-mode/fori.yasnippet
+++ b/jde-mode/fori.yasnippet
@@ -3,7 +3,6 @@
# key: fori
# contributor: Andrea crotti
# --
-
for (${1:Object el} : ${2:iterator}) {
$0
}
diff --git a/jde-mode/if.yasnippet b/jde-mode/if.yasnippet
index 7071500..1b28d2b 100644
--- a/jde-mode/if.yasnippet
+++ b/jde-mode/if.yasnippet
@@ -3,7 +3,6 @@
# key: if
# contributor: Andrea crotti
# --
-
if (${1:condition) {
$0
} \ No newline at end of file
diff --git a/jde-mode/ife.yasnippet b/jde-mode/ife.yasnippet
index a824391..04da22d 100644
--- a/jde-mode/ife.yasnippet
+++ b/jde-mode/ife.yasnippet
@@ -3,7 +3,6 @@
# key: ife
# contributor: Andrea crotti
# --
-
if (${1:cond}) {
$2
}
diff --git a/jde-mode/import.yasnippet b/jde-mode/import.yasnippet
index 0faa06a..c66772f 100644
--- a/jde-mode/import.yasnippet
+++ b/jde-mode/import.yasnippet
@@ -3,6 +3,5 @@
# key: imp
# contributor: Andrea crotti
# --
-
import ${1:System.};
$0 \ No newline at end of file
diff --git a/jde-mode/javadoc.yasnippet b/jde-mode/javadoc.yasnippet
index 562fe3b..f179219 100644
--- a/jde-mode/javadoc.yasnippet
+++ b/jde-mode/javadoc.yasnippet
@@ -3,7 +3,6 @@
# key: doc
# contributor: Andrea crotti
# --
-
/**
* $0
*
diff --git a/jde-mode/main.yasnippet b/jde-mode/main.yasnippet
index 1b90de2..aa20636 100644
--- a/jde-mode/main.yasnippet
+++ b/jde-mode/main.yasnippet
@@ -3,7 +3,6 @@
# key: main
# contributor: Andrea crotti
# --
-
public static void main(String[] args) {
$0
} \ No newline at end of file
diff --git a/jde-mode/method.yasnippet b/jde-mode/method.yasnippet
index 87fc0cd..c8df4b1 100644
--- a/jde-mode/method.yasnippet
+++ b/jde-mode/method.yasnippet
@@ -3,7 +3,6 @@
# key: method
# contributor: Andrea crotti
# --
-
${1:public }${2:void} ${3:name} (${4:args}) {
$0
} \ No newline at end of file
diff --git a/jde-mode/new.yasnippet b/jde-mode/new.yasnippet
index 490f9db..6506faf 100644
--- a/jde-mode/new.yasnippet
+++ b/jde-mode/new.yasnippet
@@ -3,6 +3,5 @@
# key: new
# contributor: Andrea crotti
# --
-
${1:Type} ${2:obj} = new ${3:Constr}(${4:args});
$0 \ No newline at end of file
diff --git a/jde-mode/param.yasnippet b/jde-mode/param.yasnippet
index 3f5c322..bf30787 100644
--- a/jde-mode/param.yasnippet
+++ b/jde-mode/param.yasnippet
@@ -3,5 +3,4 @@
# key: param
# contributor: Andrea crotti
# --
-
@param ${1:paramater} $0 \ No newline at end of file
diff --git a/jde-mode/println.yasnippet b/jde-mode/println.yasnippet
index 449b9d8..3602e64 100644
--- a/jde-mode/println.yasnippet
+++ b/jde-mode/println.yasnippet
@@ -3,6 +3,5 @@
# key: pr
# contributor: Andrea crotti
# --
-
System.out.println("${1:text}");
$0 \ No newline at end of file
diff --git a/jde-mode/return.yasnippet b/jde-mode/return.yasnippet
index d96be07..afc0153 100644
--- a/jde-mode/return.yasnippet
+++ b/jde-mode/return.yasnippet
@@ -3,5 +3,4 @@
# key: ret
# contributor: Andrea crotti
# --
-
@return ${1:description} \ No newline at end of file
diff --git a/jde-mode/testClass.yasnippet b/jde-mode/testClass.yasnippet
index 47be826..c1fd7d2 100644
--- a/jde-mode/testClass.yasnippet
+++ b/jde-mode/testClass.yasnippet
@@ -3,7 +3,6 @@
# key: tc
# contributor: Andrea crotti
# --
-
import junit.framework.*;
import junit.textui.*;
diff --git a/jde-mode/try.yasnippet b/jde-mode/try.yasnippet
index 0b8ec57..5b4f49b 100644
--- a/jde-mode/try.yasnippet
+++ b/jde-mode/try.yasnippet
@@ -3,7 +3,6 @@
# key: try
# contributor: Andrea crotti
# --
-
try {
$0
}
diff --git a/lisp-interaction-mode/defun.yasnippet b/lisp-interaction-mode/defun.yasnippet
index 48dc426..85deda0 100644
--- a/lisp-interaction-mode/defun.yasnippet
+++ b/lisp-interaction-mode/defun.yasnippet
@@ -3,7 +3,6 @@
# key: defun
# contributor: Andrea crotti
# --
-
(defun ${1:fun} (${2:args})
$0
) \ No newline at end of file
diff --git a/lua-mode/fun.yasnippet b/lua-mode/fun.yasnippet
index 8c90f7c..7a8abfc 100644
--- a/lua-mode/fun.yasnippet
+++ b/lua-mode/fun.yasnippet
@@ -3,7 +3,6 @@
# key: fun
# contributor: Andrea crotti
# --
-
function ()
${1:return something}
end \ No newline at end of file
diff --git a/m4-mode/def.yasnippet b/m4-mode/def.yasnippet
index dff6bb4..44b9668 100644
--- a/m4-mode/def.yasnippet
+++ b/m4-mode/def.yasnippet
@@ -3,6 +3,5 @@
# key: def
# contributor: Andrea crotti
# --
-
define(\`${1:macro}',\`${2:subst}').
$0 \ No newline at end of file
diff --git a/makefile-automake-mode/noinst_HEADERS.yasnippet b/makefile-automake-mode/noinst_HEADERS.yasnippet
index 324ad74..af5a3f1 100644
--- a/makefile-automake-mode/noinst_HEADERS.yasnippet
+++ b/makefile-automake-mode/noinst_HEADERS.yasnippet
@@ -3,5 +3,4 @@
# key: noinst
# contributor: Andrea crotti
# --
-
noinst_HEADERS = $0 \ No newline at end of file
diff --git a/makefile-bsdmake-mode/PHONY.yasnippet b/makefile-bsdmake-mode/PHONY.yasnippet
index 17e0b80..3ac2ed9 100644
--- a/makefile-bsdmake-mode/PHONY.yasnippet
+++ b/makefile-bsdmake-mode/PHONY.yasnippet
@@ -3,5 +3,4 @@
# key: phony
# contributor: Andrea crotti
# --
-
.PHONY: $0 \ No newline at end of file
diff --git a/makefile-bsdmake-mode/echo.yasnippet b/makefile-bsdmake-mode/echo.yasnippet
index 50c017e..3f199f4 100644
--- a/makefile-bsdmake-mode/echo.yasnippet
+++ b/makefile-bsdmake-mode/echo.yasnippet
@@ -3,5 +3,4 @@
# key: echo
# contributor: Andrea crotti
# --
-
@echo ${1:"message to output"}
diff --git a/makefile-bsdmake-mode/gen.yasnippet b/makefile-bsdmake-mode/gen.yasnippet
index 850bbfa..816c1a2 100644
--- a/makefile-bsdmake-mode/gen.yasnippet
+++ b/makefile-bsdmake-mode/gen.yasnippet
@@ -4,7 +4,6 @@
# possibly add some smart control over the list
# contributor: Andrea crotti
# --
-
all: ${1:targets}
$0
diff --git a/makefile-bsdmake-mode/if.yasnippet b/makefile-bsdmake-mode/if.yasnippet
index cbc28d3..8c4c5d4 100644
--- a/makefile-bsdmake-mode/if.yasnippet
+++ b/makefile-bsdmake-mode/if.yasnippet
@@ -3,7 +3,6 @@
# key: if
# contributor: Andrea crotti
# --
-
@if [ ${1:cond} ]
then $0
fi
diff --git a/makefile-bsdmake-mode/var.yasnippet b/makefile-bsdmake-mode/var.yasnippet
index 9c63e0b..1c1e80d 100644
--- a/makefile-bsdmake-mode/var.yasnippet
+++ b/makefile-bsdmake-mode/var.yasnippet
@@ -3,5 +3,4 @@
# key: $
# contributor: Andrea crotti
# --
-
$(${1:VAR})$0 \ No newline at end of file
diff --git a/ned-mode/chan.yasnippet b/ned-mode/chan.yasnippet
index 43a3ccd..3f1f4e1 100644
--- a/ned-mode/chan.yasnippet
+++ b/ned-mode/chan.yasnippet
@@ -3,7 +3,6 @@
# key: chan
# contributor: Andrea crotti
# --
-
channel Channel extends ${1:ned.DelayChannel} {
$0
}
diff --git a/ned-mode/connections.yasnippet b/ned-mode/connections.yasnippet
index 963fdde..dc67f52 100644
--- a/ned-mode/connections.yasnippet
+++ b/ned-mode/connections.yasnippet
@@ -3,6 +3,5 @@
# key: conn
# contributor: Andrea crotti
# --
-
connections${1: allowunconnected}:
$0 \ No newline at end of file
diff --git a/ned-mode/for.yasnippet b/ned-mode/for.yasnippet
index 0609036..b207c81 100644
--- a/ned-mode/for.yasnippet
+++ b/ned-mode/for.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for ${1:i}=${2:0}..${3:sizeof(port)-1} {
$0
} \ No newline at end of file
diff --git a/ned-mode/import.yasnippet b/ned-mode/import.yasnippet
index 3235d7c..84d15e2 100644
--- a/ned-mode/import.yasnippet
+++ b/ned-mode/import.yasnippet
@@ -3,5 +3,4 @@
# key: imp
# contributor: Andrea crotti
# --
-
import ned.${1:Package}; \ No newline at end of file
diff --git a/ned-mode/network.yasnippet b/ned-mode/network.yasnippet
index b3351bd..70a3f39 100644
--- a/ned-mode/network.yasnippet
+++ b/ned-mode/network.yasnippet
@@ -3,7 +3,6 @@
# key: net
# contributor: Andrea crotti
# --
-
network ${1:Name}
{
submodules:
diff --git a/ned-mode/simple.yasnippet b/ned-mode/simple.yasnippet
index 869b101..2fbe7d3 100644
--- a/ned-mode/simple.yasnippet
+++ b/ned-mode/simple.yasnippet
@@ -3,7 +3,6 @@
# key: simple
# contributor: Andrea crotti
# --
-
simple ${1:Component}${2: extends ${3:Component}}
{
$0
diff --git a/ned-mode/submodules.yasnippet b/ned-mode/submodules.yasnippet
index 9a8e8e8..dd93bd2 100644
--- a/ned-mode/submodules.yasnippet
+++ b/ned-mode/submodules.yasnippet
@@ -3,6 +3,5 @@
# key: sub
# contributor: Andrea crotti
# --
-
submodules:
$0 \ No newline at end of file
diff --git a/nesc-mode/TOSSIM.yasnippet b/nesc-mode/TOSSIM.yasnippet
index 1299fd2..297a654 100644
--- a/nesc-mode/TOSSIM.yasnippet
+++ b/nesc-mode/TOSSIM.yasnippet
@@ -3,7 +3,6 @@
# key: tossim
# contributor: Andrea crotti
# --
-
#ifndef TOSSIM
$0
#endif \ No newline at end of file
diff --git a/nesc-mode/author.yasnippet b/nesc-mode/author.yasnippet
index 684d044..71b3966 100644
--- a/nesc-mode/author.yasnippet
+++ b/nesc-mode/author.yasnippet
@@ -3,5 +3,4 @@
# key: author
# contributor: Andrea crotti
# --
-
@author Andrea Crotti, Marius Gysla, Oscar Dustmann \ No newline at end of file
diff --git a/nesc-mode/command.yasnippet b/nesc-mode/command.yasnippet
index abb52ae..955df14 100644
--- a/nesc-mode/command.yasnippet
+++ b/nesc-mode/command.yasnippet
@@ -3,7 +3,6 @@
# key: command
# contributor: Andrea crotti
# --
-
command ${1:void} ${2:naMe}($3) {
} \ No newline at end of file
diff --git a/nesc-mode/dbg.yasnippet b/nesc-mode/dbg.yasnippet
index 2834fa8..9350f97 100644
--- a/nesc-mode/dbg.yasnippet
+++ b/nesc-mode/dbg.yasnippet
@@ -3,5 +3,4 @@
# key: dbg
# contributor: Andrea crotti
# --
-
dbg("${1:Module}", "${2:message}"${3:, ${4:var list}}); \ No newline at end of file
diff --git a/nesc-mode/event.yasnippet b/nesc-mode/event.yasnippet
index abd4b73..4bd95b8 100644
--- a/nesc-mode/event.yasnippet
+++ b/nesc-mode/event.yasnippet
@@ -3,7 +3,6 @@
# key: event
# contributor: Andrea crotti
# --
-
event ${1:void} ${2:On.Event}($3) {
$0
} \ No newline at end of file
diff --git a/nesc-mode/ifdef.yasnippet b/nesc-mode/ifdef.yasnippet
index 7a5e2c0..9ca7b5e 100644
--- a/nesc-mode/ifdef.yasnippet
+++ b/nesc-mode/ifdef.yasnippet
@@ -3,7 +3,6 @@
# key: ifdef
# contributor: Andrea crotti
# --
-
#ifdef ${1:Macro}
$2
${3:#else}
diff --git a/nesc-mode/interface.yasnippet b/nesc-mode/interface.yasnippet
index b26d3cb..afa86f4 100644
--- a/nesc-mode/interface.yasnippet
+++ b/nesc-mode/interface.yasnippet
@@ -3,7 +3,6 @@
# key: int
# contributor: Andrea crotti
# --
-
interface ${1:Interface} {
$0
} \ No newline at end of file
diff --git a/nesc-mode/module.yasnippet b/nesc-mode/module.yasnippet
index 92cb297..d35ab55 100644
--- a/nesc-mode/module.yasnippet
+++ b/nesc-mode/module.yasnippet
@@ -3,7 +3,6 @@
# key: mod
# contributor: Andrea crotti
# --
-
module ${1:Module} {
${2:uses interface ${3:Packet}};
$0
diff --git a/nesc-mode/nx.yasnippet b/nesc-mode/nx.yasnippet
index 8e66438..889edd9 100644
--- a/nesc-mode/nx.yasnippet
+++ b/nesc-mode/nx.yasnippet
@@ -3,6 +3,5 @@
# key: nx
# contributor: Andrea crotti
# --
-
nx_uint${1:8}_t ${2:var};
$0 \ No newline at end of file
diff --git a/nesc-mode/provides.yasnippet b/nesc-mode/provides.yasnippet
index 3afd0f6..fc8f8b8 100644
--- a/nesc-mode/provides.yasnippet
+++ b/nesc-mode/provides.yasnippet
@@ -3,5 +3,4 @@
# key: provides
# contributor: Andrea crotti
# --
-
provides interface ${1:Interface}; \ No newline at end of file
diff --git a/nesc-mode/sim.yasnippet b/nesc-mode/sim.yasnippet
index 0051006..37feb76 100644
--- a/nesc-mode/sim.yasnippet
+++ b/nesc-mode/sim.yasnippet
@@ -3,7 +3,6 @@
# key: sim
# contributor: Andrea crotti
# --
-
#ifdef TOSSIM
$0
#endif \ No newline at end of file
diff --git a/nesc-mode/uint8_t.yasnippet b/nesc-mode/uint8_t.yasnippet
index 07ecf53..a3b12f1 100644
--- a/nesc-mode/uint8_t.yasnippet
+++ b/nesc-mode/uint8_t.yasnippet
@@ -3,6 +3,5 @@
# key: u8
# contributor: Andrea crotti
# --
-
uint8_t ${1:var};
$0 \ No newline at end of file
diff --git a/nesc-mode/uses.yasnippet b/nesc-mode/uses.yasnippet
index 5b14be5..1e6f765 100644
--- a/nesc-mode/uses.yasnippet
+++ b/nesc-mode/uses.yasnippet
@@ -3,6 +3,5 @@
# key: uses
# contributor: Andrea crotti
# --
-
uses interface ${1:Interface}${2: as ${3:alias}};
$0 \ No newline at end of file
diff --git a/octave-mode/for.yasnippet b/octave-mode/for.yasnippet
index 10cf56a..2ef1ae3 100644
--- a/octave-mode/for.yasnippet
+++ b/octave-mode/for.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for ${1:var} = ${2:expr}
$0
endfor \ No newline at end of file
diff --git a/octave-mode/function.yasnippet b/octave-mode/function.yasnippet
index e26db60..3a00aa5 100644
--- a/octave-mode/function.yasnippet
+++ b/octave-mode/function.yasnippet
@@ -3,7 +3,6 @@
# key: fun
# contributor: Andrea crotti
# --
-
function ${1:return_val} = ${2:fname}(${3:args})
$0
endfunction \ No newline at end of file
diff --git a/octave-mode/if.yasnippet b/octave-mode/if.yasnippet
index 023cd52..0e103b5 100644
--- a/octave-mode/if.yasnippet
+++ b/octave-mode/if.yasnippet
@@ -3,7 +3,6 @@
# key: if
# contributor: Andrea crotti
# --
-
if ${1:cond}
$0
${2:else
diff --git a/org-mode/beamer.yasnippet b/org-mode/beamer.yasnippet
index 5d94a18..f866542 100644
--- a/org-mode/beamer.yasnippet
+++ b/org-mode/beamer.yasnippet
@@ -3,7 +3,6 @@
# key: beamer
# contributor: Andrea crotti
# --
-
#+STARTUP: beamer
#+OPTIONS: toc:nil
#+LANGUAGE: ${1:it}
diff --git a/org-mode/code.yasnippet b/org-mode/code.yasnippet
index d826493..1976150 100644
--- a/org-mode/code.yasnippet
+++ b/org-mode/code.yasnippet
@@ -3,7 +3,6 @@
# key: code
# contributor: Andrea crotti
# --
-
#+begin_${1:lang} ${2:options}
$0
#+end_$1 \ No newline at end of file
diff --git a/org-mode/crypt.yasnippet b/org-mode/crypt.yasnippet
index 451ae24..378d174 100644
--- a/org-mode/crypt.yasnippet
+++ b/org-mode/crypt.yasnippet
@@ -3,6 +3,5 @@
# key: crypt
# contributor: Andrea crotti
# --
-
-*- mode: org; epa-file-encrypt-to: (“andrea.crotti.0@gmail.com”) -*-
$0 \ No newline at end of file
diff --git a/org-mode/curly.yasnippet b/org-mode/curly.yasnippet
index 2196a58..b0b3886 100644
--- a/org-mode/curly.yasnippet
+++ b/org-mode/curly.yasnippet
@@ -3,7 +3,6 @@
# key: curly
# contributor: Andrea crotti
# --
-
${1:def} =
\left \{
\begin{array}{ll}
diff --git a/org-mode/dot.yasnippet b/org-mode/dot.yasnippet
index c1db0a0..e9db9fc 100644
--- a/org-mode/dot.yasnippet
+++ b/org-mode/dot.yasnippet
@@ -3,7 +3,6 @@
# key: dot
# contributor: Andrea crotti
# --
-
#+begin_src dot :file ${1:file} :cmdline -T${2:pdf} :exports none :results silent
$0
#+end_src
diff --git a/org-mode/elisp.yasnippet b/org-mode/elisp.yasnippet
index 2b5d06a..aea4c48 100644
--- a/org-mode/elisp.yasnippet
+++ b/org-mode/elisp.yasnippet
@@ -3,7 +3,6 @@
# key: elisp
# contributor: Andrea crotti
# --
-
#+begin_src emacs-lisp :tangle yes
$0
#+end_src \ No newline at end of file
diff --git a/org-mode/embedded.yasnippet b/org-mode/embedded.yasnippet
index b899982..5858bdb 100644
--- a/org-mode/embedded.yasnippet
+++ b/org-mode/embedded.yasnippet
@@ -3,5 +3,4 @@
# key: emb
# contributor: Andrea crotti
# --
-
src_${1:lang}${2:[${3:where}]}{${4:code}} \ No newline at end of file
diff --git a/org-mode/entry.yasnippet b/org-mode/entry.yasnippet
index 695aca2..45271e0 100644
--- a/org-mode/entry.yasnippet
+++ b/org-mode/entry.yasnippet
@@ -3,7 +3,6 @@
# key: entry
# contributor: Andrea crotti
# --
-
#+begin_html
---
layout: ${1:default}
diff --git a/org-mode/img.yasnippet b/org-mode/img.yasnippet
index 251b02b..13093cb 100644
--- a/org-mode/img.yasnippet
+++ b/org-mode/img.yasnippet
@@ -3,7 +3,6 @@
# key: img
# contributor: Andrea crotti
# --
-
<img src="$1"
alt="$2" align="${3:left}"
title="${4:image title}"
diff --git a/org-mode/latex.yasnippet b/org-mode/latex.yasnippet
index be34d46..62228ee 100644
--- a/org-mode/latex.yasnippet
+++ b/org-mode/latex.yasnippet
@@ -3,7 +3,6 @@
# key: latex
# contributor: Andrea crotti
# --
-
#+BEGIN_LaTeX
$0
#+END_LaTeX \ No newline at end of file
diff --git a/org-mode/matrix.yasnippet b/org-mode/matrix.yasnippet
index 0cbd21c..9e2f679 100644
--- a/org-mode/matrix.yasnippet
+++ b/org-mode/matrix.yasnippet
@@ -4,7 +4,6 @@
# possible improvement, compute the number of lines from the argument to array
# contributor: Andrea crotti
# --
-
\left \(
\begin{array}{${1:ccc}}
${2:v1 & v2} \\
diff --git a/org-mode/node.yasnippet b/org-mode/node.yasnippet
index bda424e..161d36e 100644
--- a/org-mode/node.yasnippet
+++ b/org-mode/node.yasnippet
@@ -3,6 +3,5 @@
# key: node
# contributor: Andrea crotti
# --
-
t${1:0} [ label = "${2:label}" ];
$0 \ No newline at end of file
diff --git a/org-mode/srcname.yasnippet b/org-mode/srcname.yasnippet
index 182ce5c..c9c532e 100644
--- a/org-mode/srcname.yasnippet
+++ b/org-mode/srcname.yasnippet
@@ -3,5 +3,4 @@
# key: name
# contributor: Andrea crotti
# --
-
#+srcname: $0 \ No newline at end of file
diff --git a/org-mode/verse.yasnippet b/org-mode/verse.yasnippet
index 74086bd..9af51ce 100644
--- a/org-mode/verse.yasnippet
+++ b/org-mode/verse.yasnippet
@@ -3,7 +3,6 @@
# key: verse
# contributor: Andrea crotti
# --
-
#+begin_verse
$0
#+end_verse \ No newline at end of file
diff --git a/python-mode/builtin.yasnippet b/python-mode/builtin.yasnippet
index e7b7369..8748c12 100644
--- a/python-mode/builtin.yasnippet
+++ b/python-mode/builtin.yasnippet
@@ -4,6 +4,5 @@
# group : definitions
# contributor: Andrea crotti
# --
-
def __${1:$$(yas/choose-value '("str" "cmp" "iter" "eq" "repr"))}__(self${2:, other}):
$0 \ No newline at end of file
diff --git a/python-mode/cfor.yasnippet b/python-mode/cfor.yasnippet
index 546e422..556d472 100644
--- a/python-mode/cfor.yasnippet
+++ b/python-mode/cfor.yasnippet
@@ -3,6 +3,5 @@
# key: cfor
# contributor: Andrea crotti
# --
-
for ${1:i} from ${2:0} < = $1 < ${3:num}:
$0
diff --git a/python-mode/cls.yasnippet b/python-mode/cls.yasnippet
index c029906..a9f888c 100644
--- a/python-mode/cls.yasnippet
+++ b/python-mode/cls.yasnippet
@@ -3,6 +3,5 @@
# key: cls
# contributor: Andrea crotti
# --
-
class ${1:class}(${2:object}):
$0 \ No newline at end of file
diff --git a/python-mode/dec.yasnippet b/python-mode/dec.yasnippet
index 671e2a0..e8d163d 100644
--- a/python-mode/dec.yasnippet
+++ b/python-mode/dec.yasnippet
@@ -4,7 +4,6 @@
# group : definitions
# contributor: Andrea crotti
# --
-
def ${1:decorator}(func):
${2:initialize}
def _$1(*args, **kwargs):
diff --git a/python-mode/def.yasnippet b/python-mode/def.yasnippet
index d1f4609..df5202c 100644
--- a/python-mode/def.yasnippet
+++ b/python-mode/def.yasnippet
@@ -4,6 +4,5 @@
# group : definitions
# contributor: Andrea crotti
# --
-
def ${1:fun}(${2:args}):
$0 \ No newline at end of file
diff --git a/python-mode/deftest.yasnippet b/python-mode/deftest.yasnippet
index 3c7edcc..afc37af 100644
--- a/python-mode/deftest.yasnippet
+++ b/python-mode/deftest.yasnippet
@@ -7,6 +7,5 @@
>>>>>>> d3678734bbc83e0fcaf0cf4493c0fbace41c5416
# contributor: Andrea crotti
# --
-
def test_${1:longMeaningfulName}(self):
$0 \ No newline at end of file
diff --git a/python-mode/docstring.yasnippet b/python-mode/docstring.yasnippet
index c072d43..8255ccd 100644
--- a/python-mode/docstring.yasnippet
+++ b/python-mode/docstring.yasnippet
@@ -3,7 +3,6 @@
# key: ds
# contributor: Andrea crotti
# --
-
"""
$0
"""
diff --git a/python-mode/doctest.yasnippet b/python-mode/doctest.yasnippet
index 9364f05..4ac8c9c 100644
--- a/python-mode/doctest.yasnippet
+++ b/python-mode/doctest.yasnippet
@@ -3,7 +3,6 @@
# key: doc
# contributor: Andrea crotti
# --
-
>>> ${1:function calls}
${2:desired output}
$0 \ No newline at end of file
diff --git a/python-mode/eq.yasnippet b/python-mode/eq.yasnippet
index b21be63..8dd7684 100644
--- a/python-mode/eq.yasnippet
+++ b/python-mode/eq.yasnippet
@@ -4,6 +4,5 @@
# group: overloading
# contributor: Andrea crotti
# --
-
def __eq__(self, other):
return self.$1 == other.$1 \ No newline at end of file
diff --git a/python-mode/from.yasnippet b/python-mode/from.yasnippet
index 2d72b25..14d7d65 100644
--- a/python-mode/from.yasnippet
+++ b/python-mode/from.yasnippet
@@ -4,6 +4,5 @@
# group : general
# contributor: Andrea crotti
# --
-
from ${1:lib} import ${2:funs}
$0 \ No newline at end of file
diff --git a/python-mode/fsf.yasnippet b/python-mode/fsf.yasnippet
index fea1910..7805b03 100644
--- a/python-mode/fsf.yasnippet
+++ b/python-mode/fsf.yasnippet
@@ -3,7 +3,6 @@
# key: fsf
# contributor: Andrea crotti
# --
-
#############################################################################
## ##
## Fetched from http://www.secdev.org/python/tunproxy.py ##
diff --git a/python-mode/if.yasnippet b/python-mode/if.yasnippet
index 9b5a56f..9ea8fa2 100644
--- a/python-mode/if.yasnippet
+++ b/python-mode/if.yasnippet
@@ -4,6 +4,5 @@
# group : control structure
# contributor: Andrea crotti
# --
-
if ${1:cond}:
$0 \ No newline at end of file
diff --git a/python-mode/ife.yasnippet b/python-mode/ife.yasnippet
index f6e7fb8..c3fc3d5 100644
--- a/python-mode/ife.yasnippet
+++ b/python-mode/ife.yasnippet
@@ -4,7 +4,6 @@
# group : control structure
# contributor: Andrea crotti
# --
-
if $1:
$2
else:
diff --git a/python-mode/import.yasnippet b/python-mode/import.yasnippet
index 1ba35aa..a59d4e4 100644
--- a/python-mode/import.yasnippet
+++ b/python-mode/import.yasnippet
@@ -4,6 +4,5 @@
# group : general
# contributor: Andrea crotti
# --
-
import ${1:lib}${2: as ${3:alias}}
$0 \ No newline at end of file
diff --git a/python-mode/init.yasnippet b/python-mode/init.yasnippet
index c3bb4b3..5b5fdd5 100644
--- a/python-mode/init.yasnippet
+++ b/python-mode/init.yasnippet
@@ -4,7 +4,6 @@
# group : definitions
# contributor: Andrea crotti
# --
-
def __init__(self${1:, args}):
${2:"${3:docstring}"
}$0 \ No newline at end of file
diff --git a/python-mode/iso.yasnippet b/python-mode/iso.yasnippet
index 8e223cc..53da5ff 100644
--- a/python-mode/iso.yasnippet
+++ b/python-mode/iso.yasnippet
@@ -4,6 +4,5 @@
# group : general
# contributor: Andrea crotti
# --
-
# -*- coding: iso-8859-15 -*-
$0 \ No newline at end of file
diff --git a/python-mode/iter.yasnippet b/python-mode/iter.yasnippet
index da63dd1..cf28637 100644
--- a/python-mode/iter.yasnippet
+++ b/python-mode/iter.yasnippet
@@ -4,6 +4,5 @@
# group: overloading
# contributor: Andrea crotti
# --
-
def __iter__(self):
return ${1:iter($2)} \ No newline at end of file
diff --git a/python-mode/lambda.yasnippet b/python-mode/lambda.yasnippet
index cad7f6e..4478ddf 100644
--- a/python-mode/lambda.yasnippet
+++ b/python-mode/lambda.yasnippet
@@ -3,5 +3,4 @@
# key: lam
# contributor: Andrea crotti
# --
-
lambda ${1:x}: $0 \ No newline at end of file
diff --git a/python-mode/list.yasnippet b/python-mode/list.yasnippet
index 679339b..13243c6 100644
--- a/python-mode/list.yasnippet
+++ b/python-mode/list.yasnippet
@@ -4,6 +4,5 @@
# group : definitions
# contributor: Andrea crotti
# --
-
[${1:el} for $1 in ${2:list}]
$0 \ No newline at end of file
diff --git a/python-mode/logging.yasnippet b/python-mode/logging.yasnippet
index 8e8df1d..f4a0009 100644
--- a/python-mode/logging.yasnippet
+++ b/python-mode/logging.yasnippet
@@ -3,6 +3,5 @@
# key: log
# contributor: Andrea crotti
# --
-
logger = logging.getLogger("${1:name}")
logger.setLevel(logging.${2:level})
diff --git a/python-mode/metaclass.yasnippet b/python-mode/metaclass.yasnippet
index 26e8f58..242af34 100644
--- a/python-mode/metaclass.yasnippet
+++ b/python-mode/metaclass.yasnippet
@@ -3,5 +3,4 @@
# key: meta
# contributor: Andrea crotti
# --
-
__metaclass__ = $0 \ No newline at end of file
diff --git a/python-mode/not_impl.yasnippet b/python-mode/not_impl.yasnippet
index 88f0ab8..b985369 100644
--- a/python-mode/not_impl.yasnippet
+++ b/python-mode/not_impl.yasnippet
@@ -3,5 +3,4 @@
# key: not_impl
# contributor: Andrea crotti
# --
-
raise NotImplementedError \ No newline at end of file
diff --git a/python-mode/np.yasnippet b/python-mode/np.yasnippet
index eb32b33..4652cf4 100644
--- a/python-mode/np.yasnippet
+++ b/python-mode/np.yasnippet
@@ -4,6 +4,5 @@
# group : general
# contributor: Andrea crotti
# --
-
import numpy as np
$0 \ No newline at end of file
diff --git a/python-mode/pack.yasnippet b/python-mode/pack.yasnippet
index c6d740e..f4a55df 100644
--- a/python-mode/pack.yasnippet
+++ b/python-mode/pack.yasnippet
@@ -3,5 +3,4 @@
# key: pack
# contributor: Andrea crotti
# --
-
struct.pack("!${1:fmt}", $0) \ No newline at end of file
diff --git a/python-mode/prop.yasnippet b/python-mode/prop.yasnippet
index df5ce52..cc43fd9 100644
--- a/python-mode/prop.yasnippet
+++ b/python-mode/prop.yasnippet
@@ -2,7 +2,6 @@
# name: prop
# contributor: Andrea crotti
# --
-
def ${1:foo}():
doc = """${2:Doc string}"""
def fget(self):
diff --git a/python-mode/reg.yasnippet b/python-mode/reg.yasnippet
index 988b943..dfda0ed 100644
--- a/python-mode/reg.yasnippet
+++ b/python-mode/reg.yasnippet
@@ -7,6 +7,5 @@
>>>>>>> d3678734bbc83e0fcaf0cf4493c0fbace41c5416
# contributor: Andrea crotti
# --
-
${1:regexp} = re.compile(r"${2:expr}")
$0 \ No newline at end of file
diff --git a/python-mode/scapy.yasnippet b/python-mode/scapy.yasnippet
index cba8cfb..70f543e 100644
--- a/python-mode/scapy.yasnippet
+++ b/python-mode/scapy.yasnippet
@@ -3,5 +3,4 @@
# key: scapy
# contributor: Andrea crotti
# --
-
from scapy.all import $0 \ No newline at end of file
diff --git a/python-mode/self.yasnippet b/python-mode/self.yasnippet
index 562126a..8ddc1bd 100644
--- a/python-mode/self.yasnippet
+++ b/python-mode/self.yasnippet
@@ -3,5 +3,4 @@
# key: .
# contributor: Andrea crotti
# --
-
self.$0 \ No newline at end of file
diff --git a/python-mode/setdef.yasnippet b/python-mode/setdef.yasnippet
index 46d0edd..b3df72e 100644
--- a/python-mode/setdef.yasnippet
+++ b/python-mode/setdef.yasnippet
@@ -3,5 +3,4 @@
# key: setdef
# contributor: Andrea crotti
# --
-
${1:var}.setdefault(${2:key}, []).append(${3:value}) \ No newline at end of file
diff --git a/python-mode/static.yasnippet b/python-mode/static.yasnippet
index 2521c10..48f39cf 100644
--- a/python-mode/static.yasnippet
+++ b/python-mode/static.yasnippet
@@ -3,5 +3,4 @@
# key: static
# contributor: Andrea crotti
# --
-
@staticmethod \ No newline at end of file
diff --git a/python-mode/str.yasnippet b/python-mode/str.yasnippet
index 2b6e44c..539ade3 100644
--- a/python-mode/str.yasnippet
+++ b/python-mode/str.yasnippet
@@ -4,6 +4,5 @@
# group: overloading
# contributor: Andrea crotti
# --
-
def __str__(self):
$0 \ No newline at end of file
diff --git a/python-mode/super.yasnippet b/python-mode/super.yasnippet
index 853c943..a060c30 100644
--- a/python-mode/super.yasnippet
+++ b/python-mode/super.yasnippet
@@ -3,5 +3,4 @@
# key: super
# contributor: Andrea crotti
# --
-
super(${1:class}, self).__init__(${2:args}) \ No newline at end of file
diff --git a/python-mode/test_class.yasnippet b/python-mode/test_class.yasnippet
index bfb8714..4013022 100644
--- a/python-mode/test_class.yasnippet
+++ b/python-mode/test_class.yasnippet
@@ -4,6 +4,5 @@
# group : definitions
# contributor: Andrea crotti
# --
-
class Test${1:toTest}(unittest.TestCase):
$0
diff --git a/python-mode/test_file.yasnippet b/python-mode/test_file.yasnippet
index aa13868..ea78f07 100644
--- a/python-mode/test_file.yasnippet
+++ b/python-mode/test_file.yasnippet
@@ -4,8 +4,6 @@
# group : definitions
# contributor: Andrea crotti
# --
-
-
import unittest
${1:from ${2:test_file} import *}
diff --git a/python-mode/testmod.yasnippet b/python-mode/testmod.yasnippet
index 67caa9d..e76ad05 100644
--- a/python-mode/testmod.yasnippet
+++ b/python-mode/testmod.yasnippet
@@ -3,7 +3,6 @@
# key: testmod
# contributor: Andrea crotti
# --
-
$0
if __name__ == '__main__':
diff --git a/python-mode/trace.yasnippet b/python-mode/trace.yasnippet
index 07ed94b..0ead898 100644
--- a/python-mode/trace.yasnippet
+++ b/python-mode/trace.yasnippet
@@ -3,7 +3,6 @@
# key: trace
# contributor: Andrea crotti
# --
-
import pdb
pdb.set_trace()
$0 \ No newline at end of file
diff --git a/python-mode/utf8.yasnippet b/python-mode/utf8.yasnippet
index ec97002..f16b2eb 100644
--- a/python-mode/utf8.yasnippet
+++ b/python-mode/utf8.yasnippet
@@ -4,6 +4,5 @@
# group : general
# contributor: Andrea crotti
# --
-
# -*- encoding: utf-8 -*-
$0 \ No newline at end of file
diff --git a/python-mode/with.yasnippet b/python-mode/with.yasnippet
index e674b1e..a8cee42 100644
--- a/python-mode/with.yasnippet
+++ b/python-mode/with.yasnippet
@@ -4,6 +4,5 @@
# group : control structure
# contributor: Andrea crotti
# --
-
with ${1:expr}${2: as ${3:alias}}:
$0 \ No newline at end of file
diff --git a/python-mode/yaml.yasnippet b/python-mode/yaml.yasnippet
index e0861f5..a88218a 100644
--- a/python-mode/yaml.yasnippet
+++ b/python-mode/yaml.yasnippet
@@ -4,6 +4,5 @@
# group : general
# contributor: Andrea crotti
# --
-
${1:res} = yaml.load(open(${2:file}))
$0 \ No newline at end of file
diff --git a/rename_add_contr.py b/rename_add_contr.py
index 74edfcf..c513164 100644
--- a/rename_add_contr.py
+++ b/rename_add_contr.py
@@ -10,20 +10,22 @@ def rename(root, f):
print "already ending with the right extension"
CONT = "# contributor: Andrea crotti\n# --"
-END = "# --"
+END = "# --\n\n"
-def insert(root, f, from, to):
+orig = "# --\n\n"
+to = "# --\n"
+
+def insert(root, f, orig, to):
fname = join(root, f)
- nex_text = re.sub(from, to, open(fname).read())
+ text = open(fname).read()
+ nex_text = re.sub(orig, to, text)
open(fname, 'w').write(nex_text)
for root, dirs, files in os.walk('.'):
if "mode" in root:
# os.popen("git add *yasnippet")
for f in files:
- if f != '.yas-parents':
- rename(root, f)
- insert(root, f, END+"\n", END)
+ insert(root, f, orig, to)
diff --git a/ruby-mode/GLOB.yasnippet b/ruby-mode/GLOB.yasnippet
index e95d690..cb8a981 100644
--- a/ruby-mode/GLOB.yasnippet
+++ b/ruby-mode/GLOB.yasnippet
@@ -3,5 +3,4 @@
# key: $
# contributor: Andrea crotti
# --
-
$${1:GLOBAL} = $0 \ No newline at end of file
diff --git a/ruby-mode/attribute.yasnippet b/ruby-mode/attribute.yasnippet
index 3a2aff9..95c811a 100644
--- a/ruby-mode/attribute.yasnippet
+++ b/ruby-mode/attribute.yasnippet
@@ -3,5 +3,4 @@
# key: @
# contributor: Andrea crotti
# --
-
@${1:attr} = $0 \ No newline at end of file
diff --git a/ruby-mode/bench.yasnippet b/ruby-mode/bench.yasnippet
index 4acd1a0..25a9f69 100644
--- a/ruby-mode/bench.yasnippet
+++ b/ruby-mode/bench.yasnippet
@@ -3,7 +3,6 @@
# key: bench
# contributor: Andrea crotti
# --
-
require "benchmark"
TESTS = ${1:1_000}
diff --git a/ruby-mode/def.yasnippet b/ruby-mode/def.yasnippet
index 4cf1d26..33c919e 100644
--- a/ruby-mode/def.yasnippet
+++ b/ruby-mode/def.yasnippet
@@ -3,7 +3,6 @@
# key: def
# contributor: Andrea crotti
# --
-
def ${1:method}${2:(${3:args})}
$0
end \ No newline at end of file
diff --git a/ruby-mode/init.yasnippet b/ruby-mode/init.yasnippet
index a385ccc..95754f0 100644
--- a/ruby-mode/init.yasnippet
+++ b/ruby-mode/init.yasnippet
@@ -3,7 +3,6 @@
# key: init
# contributor: Andrea crotti
# --
-
def initialize(${1:args})
$0
end \ No newline at end of file
diff --git a/ruby-mode/test class.yasnippet b/ruby-mode/test class.yasnippet
index e8d6d37..234b1c3 100644
--- a/ruby-mode/test class.yasnippet
+++ b/ruby-mode/test class.yasnippet
@@ -3,7 +3,6 @@
# key: tc
# contributor: Andrea crotti
# --
-
class TC_${1:Class} < Test::Unit::TestCase
$0
end \ No newline at end of file
diff --git a/ruby-mode/to_.yasnippet b/ruby-mode/to_.yasnippet
index a0488d9..812426e 100644
--- a/ruby-mode/to_.yasnippet
+++ b/ruby-mode/to_.yasnippet
@@ -3,7 +3,6 @@
# key: to_
# contributor: Andrea crotti
# --
-
def to_s
"${1:string}"
end
diff --git a/ruby-mode/tu.yasnippet b/ruby-mode/tu.yasnippet
index 79b12f7..f0e2c49 100644
--- a/ruby-mode/tu.yasnippet
+++ b/ruby-mode/tu.yasnippet
@@ -3,5 +3,4 @@
# key: tu
# contributor: Andrea crotti
# --
-
require 'test/unit' \ No newline at end of file
diff --git a/sh-mode/bang.yasnippet b/sh-mode/bang.yasnippet
index aee5d1d..e93e718 100644
--- a/sh-mode/bang.yasnippet
+++ b/sh-mode/bang.yasnippet
@@ -3,6 +3,5 @@
# key: !
# contributor: Andrea crotti
# --
-
#!/bin/bash
$0 \ No newline at end of file
diff --git a/sh-mode/for loop.yasnippet b/sh-mode/for loop.yasnippet
index 830dccc..7701358 100644
--- a/sh-mode/for loop.yasnippet
+++ b/sh-mode/for loop.yasnippet
@@ -3,7 +3,6 @@
# key: for
# contributor: Andrea crotti
# --
-
for ${1:var} in ${2:stuff} do
$0
done \ No newline at end of file
diff --git a/sh-mode/function.yasnippet b/sh-mode/function.yasnippet
index dff8011..b18523a 100644
--- a/sh-mode/function.yasnippet
+++ b/sh-mode/function.yasnippet
@@ -3,7 +3,6 @@
# key: func
# contributor: Andrea crotti
# --
-
function ${1:name} (${2:args}) {
$0
} \ No newline at end of file
diff --git a/sh-mode/if.yasnippet b/sh-mode/if.yasnippet
index 00017e6..9daab2e 100644
--- a/sh-mode/if.yasnippet
+++ b/sh-mode/if.yasnippet
@@ -3,7 +3,6 @@
# key: if
# contributor: Andrea crotti
# --
-
if ${1:[ -f file]}
then ${2:do}
fi
diff --git a/sh-mode/ife.yasnippet b/sh-mode/ife.yasnippet
index a99c8ae..6145daf 100644
--- a/sh-mode/ife.yasnippet
+++ b/sh-mode/ife.yasnippet
@@ -3,7 +3,6 @@
# key: ife
# contributor: Andrea crotti
# --
-
if ${1:cond}
then ${2:stuff}
else ${3:other}
diff --git a/snippet-mode/cont.yasnippet b/snippet-mode/cont.yasnippet
index b30223c..ae9ab79 100644
--- a/snippet-mode/cont.yasnippet
+++ b/snippet-mode/cont.yasnippet
@@ -3,5 +3,4 @@
# key: cont
# contributor: Andrea crotti
# --
-
# contributor: Andrea Crotti \ No newline at end of file
diff --git a/snippet-mode/elisp.yasnippet b/snippet-mode/elisp.yasnippet
index bc541ef..772502e 100644
--- a/snippet-mode/elisp.yasnippet
+++ b/snippet-mode/elisp.yasnippet
@@ -3,5 +3,4 @@
# key: `
# contributor: Andrea crotti
# --
-
\`$0\` \ No newline at end of file
diff --git a/snippet-mode/group.yasnippet b/snippet-mode/group.yasnippet
index 4a335e2..9f3aafb 100644
--- a/snippet-mode/group.yasnippet
+++ b/snippet-mode/group.yasnippet
@@ -3,5 +3,4 @@
# key: group
# contributor: Andrea crotti
# --
-
# group : ${1:group} \ No newline at end of file
diff --git a/text-mode/localvar.yasnippet b/text-mode/localvar.yasnippet
index 57ea144..2f56469 100644
--- a/text-mode/localvar.yasnippet
+++ b/text-mode/localvar.yasnippet
@@ -3,5 +3,4 @@
# key: var
# contributor: Andrea crotti
# --
-
`(with-comment "-*- ${1:var}: ${2:value} -*-")` \ No newline at end of file
diff --git a/text-mode/locvars.yasnippet b/text-mode/locvars.yasnippet
index 0e0d7df..da9a61b 100644
--- a/text-mode/locvars.yasnippet
+++ b/text-mode/locvars.yasnippet
@@ -3,7 +3,6 @@
# key: locvar
# contributor: Andrea crotti
# --
-
`(with-comment " Local Variables:")`
`(with-comment $0)`
`(with-comment " End:")` \ No newline at end of file
diff --git a/text-mode/mode.yasnippet b/text-mode/mode.yasnippet
index a3855b0..71ca63b 100644
--- a/text-mode/mode.yasnippet
+++ b/text-mode/mode.yasnippet
@@ -3,5 +3,4 @@
# key: mode
# contributor: Andrea crotti
# --
-
`(with-comment "-*- mode: ${1:mode} -*-")` \ No newline at end of file
diff --git a/text-mode/rect.yasnippet b/text-mode/rect.yasnippet
index 9492574..f4fe628 100644
--- a/text-mode/rect.yasnippet
+++ b/text-mode/rect.yasnippet
@@ -3,6 +3,5 @@
# key: rect
# contributor: Andrea crotti
# --
-
<rect x="${1:1}" y="${2:1}" width="${3:1198}" height="${4:398}"
fill="${5:none}" stroke="${6:blue}" stroke-width="${7:2}"/>
diff --git a/text-mode/svg.yasnippet b/text-mode/svg.yasnippet
index 905b6ff..63dc7e8 100644
--- a/text-mode/svg.yasnippet
+++ b/text-mode/svg.yasnippet
@@ -3,7 +3,6 @@
# key: svg
# contributor: Andrea crotti
# --
-
<svg width="${1:12}cm" height="${2:4}cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.1">
diff --git a/text-mode/switch.yasnippet b/text-mode/switch.yasnippet
index 76795ed..b87bf35 100644
--- a/text-mode/switch.yasnippet
+++ b/text-mode/switch.yasnippet
@@ -3,7 +3,6 @@
# key: switch
# contributor: Andrea crotti
# --
-
switch (${1:var}) {
case ${2:0}:
$0
diff --git a/text-mode/xxx.yasnippet b/text-mode/xxx.yasnippet
index 2de57da..37b4dd9 100644
--- a/text-mode/xxx.yasnippet
+++ b/text-mode/xxx.yasnippet
@@ -3,5 +3,4 @@
# key: xxx
# contributor: Andrea crotti
# --
-
`(with-comment "XXX: $0 ")` \ No newline at end of file
diff --git a/tuareg-mode/let.yasnippet b/tuareg-mode/let.yasnippet
index ad0a142..ed781fa 100644
--- a/tuareg-mode/let.yasnippet
+++ b/tuareg-mode/let.yasnippet
@@ -3,5 +3,4 @@
# key: let
# contributor: Andrea crotti
# --
-
let ${1:var} $0 \ No newline at end of file
diff --git a/tuareg-mode/printf.yasnippet b/tuareg-mode/printf.yasnippet
index 5afb245..758af4b 100644
--- a/tuareg-mode/printf.yasnippet
+++ b/tuareg-mode/printf.yasnippet
@@ -3,5 +3,4 @@
# key: printf
# contributor: Andrea crotti
# --
-
Printf.printf ${1:"string"} ${2:vals};; \ No newline at end of file
diff --git a/tuareg-mode/rec.yasnippet b/tuareg-mode/rec.yasnippet
index 59f18e2..25a77b2 100644
--- a/tuareg-mode/rec.yasnippet
+++ b/tuareg-mode/rec.yasnippet
@@ -3,6 +3,5 @@
# key: rec
# contributor: Andrea crotti
# --
-
let rec ${1:fun} ${2:args} =
$0 \ No newline at end of file
diff --git a/yaml-mode/entry.yasnippet b/yaml-mode/entry.yasnippet
index f68cd03..eabc485 100644
--- a/yaml-mode/entry.yasnippet
+++ b/yaml-mode/entry.yasnippet
@@ -3,6 +3,5 @@
# key: entry
# contributor: Andrea crotti
# --
-
${1:entry}: ${2:value}
$0 \ No newline at end of file
diff --git a/yaml-mode/list.yasnippet b/yaml-mode/list.yasnippet
index a041f79..89a4bdd 100644
--- a/yaml-mode/list.yasnippet
+++ b/yaml-mode/list.yasnippet
@@ -3,6 +3,5 @@
# key: list
# contributor: Andrea crotti
# --
-
[$1]
$0 \ No newline at end of file
diff --git a/yaml-mode/section.yasnippet b/yaml-mode/section.yasnippet
index 7834e0e..5ef3d7d 100644
--- a/yaml-mode/section.yasnippet
+++ b/yaml-mode/section.yasnippet
@@ -3,6 +3,5 @@
# key: --
# contributor: Andrea crotti
# --
-
--- # ${1:section}
$0 \ No newline at end of file