mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-06 07:22:25 +00:00
tweaking the ruby-mode snippets slightly
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
# name: New Block
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
`[[ $TM_LINE_INDEX != 0 ]] && echo; echo`=begin rdoc
|
||||
`(if (save-restriction (widen) (eq 1 (line-number-at-pos))) "\n\n" "\n")`=begin rdoc
|
||||
$0
|
||||
=end
|
||||
Reference in New Issue
Block a user