From 29824c9abb0bbbaf2a3cf7f972471f13a298444f Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Fri, 14 Apr 2017 15:26:15 -0700 Subject: [PATCH] Add debugger and flow javascript snippets --- vim/UltiSnips/javascript.snippets | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vim/UltiSnips/javascript.snippets b/vim/UltiSnips/javascript.snippets index c5ebea1..d34e18a 100644 --- a/vim/UltiSnips/javascript.snippets +++ b/vim/UltiSnips/javascript.snippets @@ -54,3 +54,12 @@ snippet umd "Universal Module Definition" b return $2; })); endsnippet + +snippet debug "debugger" ! +/* eslint no-debugger: "off" */ +debugger$1 +endsnippet + +snippet flow "flow" +/* @flow */$1 +endsnippet