diff --git a/autoload/neosnippet/snippets/ruby.snip b/autoload/neosnippet/snippets/ruby.snip index 04159cc..69ab8d1 100644 --- a/autoload/neosnippet/snippets/ruby.snip +++ b/autoload/neosnippet/snippets/ruby.snip @@ -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} }