diff --git a/vim/UltiSnips/javascript.snippets b/vim/UltiSnips/javascript.snippets index 019b3b4..c905ec7 100644 --- a/vim/UltiSnips/javascript.snippets +++ b/vim/UltiSnips/javascript.snippets @@ -7,7 +7,7 @@ endsnippet snippet scf "self calling function" ! (function (${1:argument}) { ${VISUAL}$0 -}(${2:$1})) +}(${2:$1})); endsnippet snippet log "console.log" @@ -56,12 +56,15 @@ snippet umd "Universal Module Definition" b })) endsnippet - snippet debug "debugger" ! // eslint-disable-next-line no-debugger debugger$1 endsnippet +snippet ednl "eslint disable next line" ! +// eslint-disable-next-line $1 +endsnippet + snippet flow "flow" /* @flow */$1 endsnippet