From 2376f20be34c5c94919ab73ced02b9b89c91f160 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 8 Jan 2026 12:13:38 -0800 Subject: oni-php: Add conditions to expanding short snippets --- oni-php/snippets/php-mode/arrow-function | 1 + 1 file changed, 1 insertion(+) (limited to 'oni-php/snippets/php-mode/arrow-function') 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 -- cgit v1.3-2-g0d8e