vimrc/sources_non_forked/vim-snippets/snippets/javascript/javascript.es6.snippets
2016-02-20 13:13:10 +00:00

28 lines
353 B
Text

snippet const
const ${1} = ${0};
snippet let
let ${1} = ${0};
snippet im
import ${1} from '${0}';
snippet cla
class ${1} {
${0}
}
snippet clax
class ${1} extends ${2} {
${0}
}
snippet =>
(${1}) => {
${0}
}
snippet af
(${1}) => {
${0}
}
snippet sym
const ${1} = Symbol('${0}');
snippet ed
export default ${0}
snippet ${
${${1}}${0}