vimrc/sources_non_forked/vim-snippets/snippets/javascript/javascript.es6.snippets

23 lines
295 B
Text
Raw Normal View History

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