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/arrow-function | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 emacs/.emacs.d/snippets/php-mode/arrow-function (limited to 'emacs/.emacs.d/snippets/php-mode/arrow-function') diff --git a/emacs/.emacs.d/snippets/php-mode/arrow-function b/emacs/.emacs.d/snippets/php-mode/arrow-function new file mode 100644 index 0000000..3b44e01 --- /dev/null +++ b/emacs/.emacs.d/snippets/php-mode/arrow-function @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: arrow-function +# key: f +# condition: (oni-php-in-expression-context-p) +# -- +fn($1): $2 => $3 \ No newline at end of file -- cgit v1.3-2-g0d8e