Skip to content

Commit 29ce99b

Browse files
ybiquitousAndreaCrotti
authored andcommitted
add arrow function snippets to js-mode (ES2015 syntax) (AndreaCrotti#226)
* add arrow function snippets to js-mode (ES2015 syntax) For details, see below link: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions * Make 'arrow-function' snippet more simple
1 parent 143b31a commit 29ce99b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

snippets/js-mode/arrow-function

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -*- mode: snippet; require-final-newline: nil -*-
2+
# name: arrow function
3+
# key: af
4+
# group: es6
5+
# --
6+
(${1:arg}) => $0

0 commit comments

Comments
 (0)