summaryrefslogtreecommitdiffstats
path: root/snippets/delphi-mode/func-prototype.yasnippet
diff options
context:
space:
mode:
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