add arrow function snippets to js-mode (ES2015 syntax) (#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
This commit is contained in:
ybiquitous 2017-10-07 01:18:12 +09:00 committed by Andrea Crotti
parent 143b31a4eb
commit 29ce99b841

View file

@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: arrow function
# key: af
# group: es6
# --
(${1:arg}) => $0