* 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:
capitaomorte
2009-10-13 13:28:14 +00:00
parent a18e5fda5d
commit deb0755824
144 changed files with 217 additions and 76 deletions

View File

@@ -2,5 +2,6 @@
# key: all
# contributor: Translated from TextMate Snippet
# name: all? { |e| .. }
## condition: "source.ruby"
# --
all? { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: any
# contributor: Translated from TextMate Snippet
# name: any? { |e| .. }
## condition: "source.ruby"
# --
any? { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: cl
# contributor: Translated from TextMate Snippet
# name: classify { |e| .. }
## condition: "source.ruby"
# --
classify { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: col
# contributor: Translated from TextMate Snippet
# name: collect { |e| .. }
## condition: "source.ruby"
# --
collect { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: det
# contributor: Translated from TextMate Snippet
# name: detect { |e| .. }
## condition: "source.ruby"
# --
detect { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: fet
# contributor: Translated from TextMate Snippet
# name: fetch(name) { |key| .. }
## condition: "source.ruby"
# --
fetch(${1:name}) { ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${2:key}${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}$0 }

View File

@@ -2,5 +2,6 @@
# key: fin
# contributor: Translated from TextMate Snippet
# name: find { |e| .. }
## condition: "source.ruby"
# --
find { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: fina
# contributor: Translated from TextMate Snippet
# name: find_all { |e| .. }
## condition: "source.ruby"
# --
find_all { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: gre
# contributor: Translated from TextMate Snippet
# name: grep(/pattern/) { |match| .. }
## condition: "source.ruby"
# --
grep(${1:/${2:pattern}/}) { |${3:match}| $0 }

View File

@@ -2,5 +2,6 @@
# key: max
# contributor: Translated from TextMate Snippet
# name: max { |a, b| .. }
## condition: "source.ruby"
# --
max { |a, b| $0 }

View File

@@ -2,5 +2,6 @@
# key: min
# contributor: Translated from TextMate Snippet
# name: min { |a, b| .. }
## condition: "source.ruby"
# --
min { |a, b| $0 }

View File

@@ -2,5 +2,6 @@
# key: par
# contributor: Translated from TextMate Snippet
# name: partition { |e| .. }
## condition: "source.ruby"
# --
partition { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: rej
# contributor: Translated from TextMate Snippet
# name: reject { |e| .. }
## condition: "source.ruby"
# --
reject { |${1:e}| $0 }

View File

@@ -2,5 +2,6 @@
# key: sel
# contributor: Translated from TextMate Snippet
# name: select { |e| .. }
## condition: "source.ruby"
# --
select { |${1:e}| $0 }