aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php/snippets/php-mode/arrow-function
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-01-08 12:13:38 -0800
committerGravatar Tom Willemse2026-01-08 12:13:38 -0800
commit2376f20be34c5c94919ab73ced02b9b89c91f160 (patch)
tree074d8c5e338ed9eaa3b63a34407b96e2f894f7a1 /oni-php/snippets/php-mode/arrow-function
parentbc8b6a7c255ec7fa13f5a1e7533da0fa5f2e5b58 (diff)
downloademacs-config-2376f20be34c5c94919ab73ced02b9b89c91f160.tar.gz
emacs-config-2376f20be34c5c94919ab73ced02b9b89c91f160.zip
oni-php: Add conditions to expanding short snippets
Diffstat (limited to 'oni-php/snippets/php-mode/arrow-function')
-rw-r--r--oni-php/snippets/php-mode/arrow-function1
1 files changed, 1 insertions, 0 deletions
diff --git a/oni-php/snippets/php-mode/arrow-function b/oni-php/snippets/php-mode/arrow-function
index 53e0525..3b44e01 100644
--- a/oni-php/snippets/php-mode/arrow-function
+++ b/oni-php/snippets/php-mode/arrow-function
@@ -1,5 +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