emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/yasnippet-snippets 1265599551 3/8: php-mode: add match key


From: ELPA Syncer
Subject: [nongnu] elpa/yasnippet-snippets 1265599551 3/8: php-mode: add match keyword
Date: Mon, 21 Feb 2022 07:58:46 -0500 (EST)

branch: elpa/yasnippet-snippets
commit 1265599551a4b434f734e674614dedd4c585be76
Author: takeokunn <bararararatty@gmail.com>
Commit: takeokunn <bararararatty@gmail.com>

    php-mode: add match keyword
---
 snippets/php-mode/match | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/snippets/php-mode/match b/snippets/php-mode/match
new file mode 100644
index 0000000000..d4681118b3
--- /dev/null
+++ b/snippets/php-mode/match
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+# contributor: takeo obara<bararararatty@gmail.com>
+# name: match
+# key: match
+# group : control structure
+# --
+match (${1:$var}) {
+    ${2:$cond} => ${3:$return},
+$0
+};



reply via email to

[Prev in Thread] Current Thread [Next in Thread]