From 5fd4013f4565fb7f00c00c25490a263116042a08 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 8 Sep 2026 14:56:51 -0700 Subject: emacs: Add snippets --- emacs/.emacs.d/snippets/php-mode/function-statement | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emacs/.emacs.d/snippets/php-mode/function-statement (limited to 'emacs/.emacs.d/snippets/php-mode/function-statement') diff --git a/emacs/.emacs.d/snippets/php-mode/function-statement b/emacs/.emacs.d/snippets/php-mode/function-statement new file mode 100644 index 0000000..9c44aef --- /dev/null +++ b/emacs/.emacs.d/snippets/php-mode/function-statement @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: function statement +# key: f +# condition: (oni-php-in-expression-context-p) +# -- +/** + * $5 + */ +${1:private} function $2($3): ${4:void} { + $0 +} \ No newline at end of file -- cgit v1.3-2-g0d8e