mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 02:14:17 +00:00
* Fix issue 113: invalid filenames on Windows. Thanks claudio.bley!
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: do
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Insert do |variable| … end
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
do ${1:$(if (string= yas/text "") "" "|")}${1:variable}${1:$(if (string= yas/text "") "" "|")}
|
||||
$0
|
||||
end
|
||||
Reference in New Issue
Block a user