mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Changed name from untitled top option(..).yasnippet
This commit is contained in:
parent
32c837290d
commit
d6bf2427ea
10
extras/imported/ruby-mode/Files/option(..).yasnippet
Normal file
10
extras/imported/ruby-mode/Files/option(..).yasnippet
Normal file
@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: opt
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: option(..)
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
opts.on( "-${1:o}", "--${2:long-option-name}"${3:$(if (string= yas/text "") "" ", ")}${3:String},
|
||||
"${4:Option description.}" ) do |${6:opt}|
|
||||
$0
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user