Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adds file for custom ultisnips

  • Loading branch information...
commit 0e0ad1ed71f96087f591ba14ddfeecfa870b31fd 1 parent 060ccfb
@kioopi authored
Showing with 21 additions and 0 deletions.
  1. +21 −0 UltiSnips/javascript.snippets
View
21 UltiSnips/javascript.snippets
@@ -0,0 +1,21 @@
+snippet f "anonymous function"
+function(${1}) {${0}
+endsnippet
+
+snippet fn "anonymous function block"
+function($1) {
+ ${VISUAL}$2
+}$0
+endsnippet
+
+snippet cl "console.log"
+console.log(${1});
+endsnippet
+
+snippet cw "console.warn"
+console.warn(${1});
+endsnippet
+
+snippet ce "console.error"
+console.error(${1});
+endsnippet
Please sign in to comment.
Something went wrong with that request. Please try again.