mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-13 00:44:18 +00:00
* Small change to textmate_import.rb to import (commented) "scope" directive
* Reimported the HTML and Ruby bundle with the previous fix * Applied Rob Christie's patches of issues 109 and 110 0001-Deleted-because-this-is-supported-via-dwim-with-rcod.patch 0002-Updated-snippets.patch 0003-Added-setup.el-file-that-must-be-loaded-prior-to-loa.patch 0004-ruby-mode-class-and-module-snippets-updated.patch 0005-changes-to-counting-snippets-and-some-declaration-sn.patch patching some things manually. Thanks a lot Rob!
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
# key: ea
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each { |e| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each { |${1:e}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eab
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_byte { |byte| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_byte { |${1:byte}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eac-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_char { |chr| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_char { |${1:chr}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eac-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_cons(..) { |group| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_cons(${1:2}) { |${2:group}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eai
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_index { |i| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_index { |${1:i}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eak
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_key { |key| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_key { |${1:key}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eal
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_line { |line| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_line$1 { |${2:line}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eap
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_pair { |name, val| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_pair { |${1:name}, ${2:val}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eas-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_slice(..) { |group| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_slice(${1:2}) { |${2:group}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eav
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_value { |val| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_value { |${1:val}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: eawi
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: each_with_index { |e, i| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
each_with_index { |${1:e}, ${2:i}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: inj
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: inject(init) { |mem, var| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
inject${1/.+/(/}${1:init}${1/.+/)/} { |${2:mem}, ${3:var}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: map
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: map { |e| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
map { |${1:e}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: mapwi-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: map_with_index { |e, i| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
enum_with_index.map { |${1:e}, ${2:i}| $0 }
|
||||
@@ -2,5 +2,6 @@
|
||||
# key: reve
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: reverse_each { |e| .. }
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
reverse_each { |${1:e}| $0 }
|
||||
Reference in New Issue
Block a user