class and couple more

This commit is contained in:
Andrea Crotti 2012-07-26 22:13:09 +01:00
parent 493b41f358
commit a74603c50e
3 changed files with 11 additions and 1 deletions

5
haskell-mode/data Normal file
View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: data
# key: da
# --
data ${1:Type} = $2

View file

@ -2,5 +2,5 @@
# name: cls
# key: cls
# --
class ${1:class}(${2:object}):
class ${1:class}:
$0

5
text-mode/code Normal file
View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: code
# key: code
# --
.. code:: ${1:python}