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