summaryrefslogtreecommitdiffstats
path: root/snippets/delphi-mode/func-prototype.yasnippet
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-02-03 21:53:13 +0100
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-02-03 21:53:13 +0100
commitdd3dff6eebcd8fb14d8ba9b0666365bea62e5d81 (patch)
tree15344c68c599cef88689ea5e36c584a4fe2534d9 /snippets/delphi-mode/func-prototype.yasnippet
parent3f5edbfe13f4bca10274e0999376502fa9ed346d (diff)
downloademacs-dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81.tar.gz
emacs-dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81.tar.xz
emacs-dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81.zip
Add own snippets
Diffstat (limited to 'snippets/delphi-mode/func-prototype.yasnippet')
-rw-r--r--snippets/delphi-mode/func-prototype.yasnippet8
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/delphi-mode/func-prototype.yasnippet b/snippets/delphi-mode/func-prototype.yasnippet
new file mode 100644
index 0000000..2344f07
--- /dev/null
+++ b/snippets/delphi-mode/func-prototype.yasnippet
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# contributor: Alexander Sulfrian <alexander@sulfrian.net>
+# name: function prototype
+# key: func
+# condition: (delphi-in-class-definition)
+# --
+function ${1:Name$(upcase-initials text)}($2): $3;
+ $0$> \ No newline at end of file