add lisp packages
This commit is contained in:
10
lisp/yasnippet-snippets/snippets/js-mode/switch
Normal file
10
lisp/yasnippet-snippets/snippets/js-mode/switch
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: switch
|
||||
# key: sw
|
||||
# --
|
||||
switch (${1:condition}) {
|
||||
case ${2:expression}:
|
||||
$0
|
||||
break;
|
||||
default:
|
||||
}
|
||||
Reference in New Issue
Block a user