aboutsummaryrefslogtreecommitdiff
path: root/atom/snippets.cson
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2015-07-10 11:12:25 -0500
committerBen Beltran <ben@nsovocal.com>2015-07-10 11:12:25 -0500
commit24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a (patch)
treeded312222bb108923da1820ba40b04d710d20e5b /atom/snippets.cson
parenteb786e82d170e2abc351a432ade616d6ecdeeb6b (diff)
Adds atom
Diffstat (limited to 'atom/snippets.cson')
-rw-r--r--atom/snippets.cson18
1 files changed, 18 insertions, 0 deletions
diff --git a/atom/snippets.cson b/atom/snippets.cson
new file mode 100644
index 0000000..e27c158
--- /dev/null
+++ b/atom/snippets.cson
@@ -0,0 +1,18 @@
+# Your snippets
+#
+# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
+# expand the prefix into a larger code block with templated values.
+#
+# You can create a new snippet in this file by typing "snip" and then hitting
+# tab.
+#
+# An example CoffeeScript snippet to expand log to console.log:
+#
+# '.source.coffee':
+# 'Console log':
+# 'prefix': 'log'
+# 'body': 'console.log $1'
+#
+# This file uses CoffeeScript Object Notation (CSON).
+# If you are unfamiliar with CSON, you can read more about it here:
+# https://github.com/bevry/cson#what-is-cson