Skip to content

Commit

Permalink
[PHP] Add snippet: match ...
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
  • Loading branch information
jfcherng committed Jul 2, 2020
1 parent a2f0ca4 commit 1200b66
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions PHP/Snippets/match{-}.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[match (${1:variable}) {
${2:from} => ${3:to},$5
default => ${4:null},
}$0]]></content>
<tabTrigger>match</tabTrigger>
<scope>source.php - string - comment</scope>
<description>match …</description>
</snippet>

0 comments on commit 1200b66

Please sign in to comment.