diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-12-10 06:23:45 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-12-10 06:23:45 +0100 |
commit | bb0908ad0031fb070306a231d277a3c722890915 (patch) | |
tree | 0f48ee8ce182113f63c6216ed7f0c4dcfd5db7c0 /emacs.d/snippets/delphi-mode/procedure-prototype.yasnippet | |
parent | 6ec950bc92c599ad5db7d33e91a94f65fc822af6 (diff) | |
download | dotfiles-bb0908ad0031fb070306a231d277a3c722890915.tar.gz dotfiles-bb0908ad0031fb070306a231d277a3c722890915.tar.xz dotfiles-bb0908ad0031fb070306a231d277a3c722890915.zip |
added delphi stuff
added templet for ultrastar .pas files
added some delphi snippets for procedures and functions
added imenu stuff for delphi-code
Diffstat (limited to 'emacs.d/snippets/delphi-mode/procedure-prototype.yasnippet')
-rw-r--r-- | emacs.d/snippets/delphi-mode/procedure-prototype.yasnippet | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs.d/snippets/delphi-mode/procedure-prototype.yasnippet b/emacs.d/snippets/delphi-mode/procedure-prototype.yasnippet new file mode 100644 index 0000000..ee5b101 --- /dev/null +++ b/emacs.d/snippets/delphi-mode/procedure-prototype.yasnippet @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# contributor: Alexander Sulfrian <alexander@sulfrian.net> +# name: procedure prototype +# key: proc +# condition: (delphi-in-class-definition) +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 'nil) (yas/also-auto-indent-first-line 't)) +# -- +procedure ${1:Name$(capitalize text)}($2); +$0
\ No newline at end of file |