add lisp packages
This commit is contained in:
11
lisp/yasnippet-snippets/snippets/js-mode/try-catch
Normal file
11
lisp/yasnippet-snippets/snippets/js-mode/try-catch
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: try...catch statement
|
||||
# key: try
|
||||
# --
|
||||
try {
|
||||
$1
|
||||
} catch (err) {
|
||||
$2
|
||||
}${3: finally {
|
||||
$4
|
||||
}}
|
||||
Reference in New Issue
Block a user