summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/delphi-mode/func-prototype.yasnippet
blob: 25f06bb1ad6aafb173fbce365654e6ca4ab6fabf (plain) (blame)
1
2
3
4
5
6
7
8
9
# -*- mode: snippet -*-
# contributor: Alexander Sulfrian <alexander@sulfrian.net>
# name: function prototype
# key: func
# condition: (delphi-in-class-definition)
# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 'nil) (yas/also-auto-indent-first-line 't))
# --
function ${1:Name$(capitalize text)}($2): $3;
$0