aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2020-02-28 03:17:22 -0700
committerkatherine <ageha@airen-no-jikken.icu>2020-02-28 03:17:22 -0700
commit7e4ea175331f64becc91ffcf926bd56205d9c0ff (patch)
tree63345c4cc96026836935d8f39506f7b40a6e7afb
parent2fd464589d329664ea79ac0fd07bc8713422ebc0 (diff)
downloaddotfiles-7e4ea175331f64becc91ffcf926bd56205d9c0ff.tar.gz
add crystal snippets
-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