about summary refs log tree commit diff
path: root/snippets/js2-mode/context
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/js2-mode/context')
-rw-r--r--snippets/js2-mode/context7
1 files changed, 7 insertions, 0 deletions
diff --git a/snippets/js2-mode/context b/snippets/js2-mode/context
new file mode 100644
index 000000000000..d83809f3c35e
--- /dev/null
+++ b/snippets/js2-mode/context
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: context
+# key: context
+# --
+context('$1', function() {
+              $2
+})