Merge branch 'master' of github.com:Pompeu/vim-snippets

This commit is contained in:
Pompeu 2016-01-10 01:22:39 -02:00
commit 7f8583e925
2 changed files with 16 additions and 14 deletions

View File

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

View File

@ -254,9 +254,9 @@ snippet cl
# console.debug # console.debug
snippet cd snippet cd
console.debug(${0}); console.debug(${0});
# console.err # console.error
snippet ce snippet ce
console.err(${0}); console.error(${0});
# console.trace # console.trace
snippet ct snippet ct
console.trace(${0:label}); console.trace(${0:label});