1
0
Fork 0
mirror of synced 2024-11-09 18:58:58 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/javascript/javascript.es6.snippets

29 lines
353 B
Text
Raw Normal View History

2015-12-08 08:20:04 -05:00
snippet const
2016-02-20 08:13:10 -05:00
const ${1} = ${0};
2015-12-08 08:20:04 -05:00
snippet let
2016-02-20 08:13:10 -05:00
let ${1} = ${0};
2015-12-08 08:20:04 -05:00
snippet im
2016-02-20 08:13:10 -05:00
import ${1} from '${0}';
2015-12-08 08:20:04 -05:00
snippet cla
2016-02-20 08:13:10 -05:00
class ${1} {
${0}
2015-12-08 08:20:04 -05:00
}
snippet clax
2016-02-20 08:13:10 -05:00
class ${1} extends ${2} {
${0}
2015-12-08 08:20:04 -05:00
}
snippet =>
2016-02-20 08:13:10 -05:00
(${1}) => {
${0}
2015-12-08 08:20:04 -05:00
}
2015-12-16 08:53:53 -05:00
snippet af
2016-02-20 08:13:10 -05:00
(${1}) => {
${0}
2015-12-16 08:53:53 -05:00
}
2015-12-08 08:20:04 -05:00
snippet sym
2016-02-20 08:13:10 -05:00
const ${1} = Symbol('${0}');
2015-12-08 08:20:04 -05:00
snippet ed
export default ${0}
2016-02-20 08:13:10 -05:00
snippet ${
${${1}}${0}