Improve ruby snip.
This commit is contained in:
parent
bda2f8ae64
commit
d062862957
@ -110,6 +110,10 @@ options word
|
||||
sort_by {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet lambda
|
||||
options word
|
||||
-> (${1:#:args}) { ${2} }
|
||||
|
||||
snippet lambda-keyword
|
||||
options word
|
||||
lambda {|${1:#:args}| ${2} }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user