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

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

[nongnu] elpa/yasnippet-snippets 48dec0a72f 6/8: Merge pull request #434


From: ELPA Syncer
Subject: [nongnu] elpa/yasnippet-snippets 48dec0a72f 6/8: Merge pull request #434 from takeokunn/feature/add-match-in-php-mode
Date: Mon, 21 Feb 2022 07:58:46 -0500 (EST)

branch: elpa/yasnippet-snippets
commit 48dec0a72f158acf321743a069018eaac991cf9b
Merge: 9d9616f6bf 1265599551
Author: Andrea Crotti <andrea.crotti.0@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #434 from takeokunn/feature/add-match-in-php-mode
    
    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]