mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 23:12:26 +00:00
* Fix issue 113: invalid filenames on Windows. Thanks claudio.bley!
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: Array
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Array.new(10) { |i| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
Array.new(${1:10}) { ${2:$(if (string= yas/text "") "" "|")}${2:i}${2:$(if (string= yas/text "") "" "|")} $0 }
|
||||
Reference in New Issue
Block a user