Browse Source

add crystal snippets

master
katherine 5 months ago
parent
commit
7e4ea17533
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      .vim/UltiSnips/crystal.snippets

+ 16
- 0
.vim/UltiSnips/crystal.snippets View File

@@ -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

Loading…
Cancel
Save