aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vim/UltiSnips/crystal.snippets16
1 files changed, 16 insertions, 0 deletions
diff --git a/.vim/UltiSnips/crystal.snippets b/.vim/UltiSnips/crystal.snippets
new file mode 100644
index 0000000..7e172d6
--- /dev/null
+++ b/.vim/UltiSnips/crystal.snippets
@@ -0,0 +1,16 @@
+priority -50
+
+snippet mod "module ... end"
+module ${VISUAL}$0
+end
+endsnippet
+
+snippet class "module ... end"
+class ${VISUAL}$0
+end
+endsnippet
+
+snippet def "def ... end"
+def ${VISUAL}$0
+end
+endsnippet