dotfiles/vim/snippets/vim-snippets/UltiSnips/crystal.snippets

14 lines
220 B
Plaintext
Raw Normal View History

2018-04-05 13:06:54 +02:00
priority -50
snippet "\b(de)?f" "def <name>..." r
def ${1:method_name}${2:(${3:*args})}
$0
end
endsnippet
snippet "\b(pde)?f" "private def <name>..." r
private def ${1:method_name}${2:(${3:*args})}
$0
end
endsnippet