Skip to content
Browse files

Rename symbol references from `yas/*` to `yas-*` in bundled snippets

  • Loading branch information...
1 parent e12a8bf commit 96638af80eb3cbeaee80046b0a324d94053d27b9 @capitaomorte committed Jul 19, 2012
View
520 extras/imported/html-mode/.yas-setup.el
@@ -1,19 +1,19 @@
;; .yas-setup.el for html-mode
-(defvar yas/html-default-tag "p")
+(defvar yas-html-default-tag "p")
-(defvar yas/html-xhtml-attr "")
+(defvar yas-html-xhtml-attr "")
-(defvar yas/html-just-like-tm nil
+(defvar yas-html-just-like-tm nil
"Html-mode snippets behave as close to TextMate as possible.")
-(defun yas/html-activate ()
- (add-to-list (make-local-variable 'yas/mode-symbol) 'html-mode))
+(defun yas-html-activate ()
+ (add-to-list (make-local-variable 'yas-mode-symbol) 'html-mode))
-(add-hook 'nxml-mode-hook 'yas/html-activate)
-(add-hook 'rhtml-mode-hook 'yas/html-activate)
+(add-hook 'nxml-mode-hook 'yas-html-activate)
+(add-hook 'rhtml-mode-hook 'yas-html-activate)
-(defun yas/html-remove-preceding-word ()
+(defun yas-html-remove-preceding-word ()
(interactive)
(let (word-begin
word-end
@@ -38,59 +38,59 @@
retval))))
-(defun yas/html-first-word (string)
+(defun yas-html-first-word (string)
(replace-regexp-in-string "\\\W.*" "" string))
-(defun yas/html-insert-tag-pair-snippet ()
- (let* ((tag-and-suffix (or (and yas/selected-text
- (cons yas/selected-text nil))
- (yas/html-remove-preceding-word)))
+(defun yas-html-insert-tag-pair-snippet ()
+ (let* ((tag-and-suffix (or (and yas-selected-text
+ (cons yas-selected-text nil))
+ (yas-html-remove-preceding-word)))
(tag (car tag-and-suffix))
(suffix (or (cdr tag-and-suffix) ""))
(single-no-arg "\\(br\\|hr\\)")
(single "\\(img\\|meta\\|link\\|input\\|base\\|area\\|col\\|frame\\|param\\)"))
(cond ((null tag)
- (yas/expand-snippet (format "<${1:%s}>%s</${1:$(yas/html-first-word yas/text)}>%s"
- (or yas/html-default-tag
+ (yas-expand-snippet (format "<${1:%s}>%s</${1:$(yas-html-first-word yas-text)}>%s"
+ (or yas-html-default-tag
"p")
- (if yas/html-just-like-tm "$2" "$0")
+ (if yas-html-just-like-tm "$2" "$0")
suffix)))
((string-match single-no-arg tag)
- (insert (format "<%s%s/>%s" tag yas/html-xhtml-attr suffix)))
+ (insert (format "<%s%s/>%s" tag yas-html-xhtml-attr suffix)))
((string-match single tag)
- (yas/expand-snippet (format "<%s $1%s/>%s" tag yas/html-xhtml-attr suffix)))
+ (yas-expand-snippet (format "<%s $1%s/>%s" tag yas-html-xhtml-attr suffix)))
(t
- (yas/expand-snippet (format "<%s>%s</%s>%s"
+ (yas-expand-snippet (format "<%s>%s</%s>%s"
tag
- (if yas/html-just-like-tm "$1" "$0")
+ (if yas-html-just-like-tm "$1" "$0")
(replace-regexp-in-string "\\\W.*" "" tag)
suffix))))))
-(defun yas/html-wrap-each-line-in-openclose-tag ()
- (let* ((mirror "${1:$(yas/html-first-word yas/text)}")
- (yas/html-wrap-newline (when (string-match "\n" yas/selected-text) "\n"))
- (template (concat (format "<${1:%s}>" (or yas/html-default-tag "p"))
- yas/selected-text
+(defun yas-html-wrap-each-line-in-openclose-tag ()
+ (let* ((mirror "${1:$(yas-html-first-word yas-text)}")
+ (yas-html-wrap-newline (when (string-match "\n" yas-selected-text) "\n"))
+ (template (concat (format "<${1:%s}>" (or yas-html-default-tag "p"))
+ yas-selected-text
"</" mirror ">")))
(setq template (replace-regexp-in-string "\n" (concat "</" mirror ">\n<$1>") template))
- (yas/expand-snippet template)))
+ (yas-expand-snippet template)))
-(defun yas/html-toggle-wrap (string wrap)
+(defun yas-html-toggle-wrap (string wrap)
(or (and string
(string-match (format "<%s>\\(.*\\)</%s>" wrap wrap)
string)
(match-string 1 string))
(concat wrap string wrap)))
-(defun yas/html-between-tag-pair-p ()
+(defun yas-html-between-tag-pair-p ()
(save-excursion
(backward-word)
(looking-at "\\\w+></\\\w+>")))
-(defun yas/html-id-from-string (string)
+(defun yas-html-id-from-string (string)
(replace-regexp-in-string " " "_" (downcase string)))
-(defun yas/html-tidy ()
+(defun yas-html-tidy ()
(interactive)
(let ((start (or (and mark-active
(region-beginning))
@@ -104,19 +104,19 @@
(goto-char (min (point-max) orig))
(recenter (1- orig-line))))
-(defun yas/html-tag-description ()
+(defun yas-html-tag-description ()
(interactive)
(let* ((tag-at-point (sgml-beginning-of-tag))
(fragment (and tag-at-point
- (cdr (assoc (upcase tag-at-point) yas/html-tag-description-urls)))))
+ (cdr (assoc (upcase tag-at-point) yas-html-tag-description-urls)))))
(if fragment
(browse-url (concat "http://www.w3.org/TR/html4/index/"
fragment))
(if tag-at-point
(message "No documentation for " tag-at-point)
(message "Not on a HTML tag.")))))
-(defvar yas/html-tag-description-urls
+(defvar yas-html-tag-description-urls
'(("A" . "../struct/links.html#edef-A")
("ABBR" . "../struct/text.html#edef-ABBR")
("ACRONYM" . "../struct/text.html#edef-ACRONYM")
@@ -213,18 +213,18 @@
;;
;; Substitutions for: content
;; # as in Snippets/Emphasize.yasnippet
-;; ${TM_SELECTED_TEXT/\A<em>(.*)<\/em>\z|.*/(?1:$1:<em>$0<\/em>)/m} =yyas> `(yas/html-toggle-wrap yas/selected-text "em")`
-;; ${TM_SELECTED_TEXT/\A<strong>(.*)<\/strong>\z|.*/(?1:$1:<strong>$0<\/strong>)/m} =yyas> `(yas/html-toggle-wrap yas/selected-text "strong")`
-;; ${1/\s.*//} =yyas> ${1:$(replace-regexp-in-string "[\s\t\n].*" "" yas/text)}
-;; ${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g} =yyas> ${1:$(replace-regexp-in-string " " "_" (downcase yas/text))}
-;; ${TM_XHTML} =yyas> `yas/html-xhtml-attr`
+;; ${TM_SELECTED_TEXT/\A<em>(.*)<\/em>\z|.*/(?1:$1:<em>$0<\/em>)/m} =yyas> `(yas-html-toggle-wrap yas-selected-text "em")`
+;; ${TM_SELECTED_TEXT/\A<strong>(.*)<\/strong>\z|.*/(?1:$1:<strong>$0<\/strong>)/m} =yyas> `(yas-html-toggle-wrap yas-selected-text "strong")`
+;; ${1/\s.*//} =yyas> ${1:$(replace-regexp-in-string "[\s\t\n].*" "" yas-text)}
+;; ${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g} =yyas> ${1:$(replace-regexp-in-string " " "_" (downcase yas-text))}
+;; ${TM_XHTML} =yyas> `yas-html-xhtml-attr`
;; # as in Commands/Preview in All Active Browsers.yasnippet
;; 970EE6B4-A091-11D9-A5A2-000D93C8BE28 =yyas> (browse-url-of-buffer)
-;; 637CEA2B-578C-429C-BB74-30E8D42BFA22 =yyas> (yas/html-tag-description)
-;; 2ED44A32-C353-447F-BAE4-E3522DB6944D =yyas> (yas/html-insert-tag-pair-snippet)
-;; 991E7EBD-F3F5-469A-BA01-DC30E04AD472 =yyas> (yas/html-wrap-each-line-in-openclose-tag)
+;; 637CEA2B-578C-429C-BB74-30E8D42BFA22 =yyas> (yas-html-tag-description)
+;; 2ED44A32-C353-447F-BAE4-E3522DB6944D =yyas> (yas-html-insert-tag-pair-snippet)
+;; 991E7EBD-F3F5-469A-BA01-DC30E04AD472 =yyas> (yas-html-wrap-each-line-in-openclose-tag)
;; Substitutions for: binding
;;
@@ -248,209 +248,209 @@
;; ^@W =yyas> C-c M-W
;;
;; # as in Snippets/XHTML &nbsp NonBreakingSpace.yasnippet
-;; ~ =yyas> (yas/unknown)
+;; ~ =yyas> (yas-unknown)
;;
;; # as in Commands/Insert Entity.yasnippet
-;; @& =yyas> (yas/unknown)
+;; @& =yyas> (yas-unknown)
;;
;; # as in Commands/Refresh All Active Browsers.yasnippet
-;; @r =yyas> (yas/unknown)
+;; @r =yyas> (yas-unknown)
;;
;; # as in Commands/Persistent Include.yasnippet
-;; ^@i =yyas> (yas/unknown)
+;; ^@i =yyas> (yas-unknown)
;;
;; # as in Commands/CodeCompletion HTML Tags.yasnippet
-;; ~ =yyas> (yas/unknown)
+;; ~ =yyas> (yas-unknown)
;;
;; # as in Commands/Update Includes.yasnippet
-;; ^@u =yyas> (yas/unknown)
+;; ^@u =yyas> (yas-unknown)
;;
;; # as in Macros/Delete whitespace between tags.yasnippet
-;; ^~ =yyas> (yas/unknown)
+;; ^~ =yyas> (yas-unknown)
;;
;; # as in Commands/Tidy.yasnippet
-;; ^H =yyas> (yas/unknown)
+;; ^H =yyas> (yas-unknown)
;;
;;
;; --**--
;; Automatically generated code, do not edit this part
;;
;; Translated menu
;;
-(yas/define-menu 'html-mode
+(yas-define-menu 'html-mode
'(;; Documentation for Tag
- (yas/item "637CEA2B-578C-429C-BB74-30E8D42BFA22")
+ (yas-item "637CEA2B-578C-429C-BB74-30E8D42BFA22")
;; Ignoring Validate Syntax (W3C)
- (yas/ignore-item "3F26240E-6E4A-11D9-B411-000D93589AF6")
+ (yas-ignore-item "3F26240E-6E4A-11D9-B411-000D93589AF6")
;; Open Document in Running Browser(s)
- (yas/item "970EE6B4-A091-11D9-A5A2-000D93C8BE28")
+ (yas-item "970EE6B4-A091-11D9-A5A2-000D93C8BE28")
;; Ignoring Refresh Running Browser(s)
- (yas/ignore-item "B8651C6E-A05E-11D9-86AC-000D93C8BE28")
+ (yas-ignore-item "B8651C6E-A05E-11D9-86AC-000D93C8BE28")
- (yas/submenu "Entities"
+ (yas-submenu "Entities"
(;; Ignoring Convert Character / Selection to Entities
- (yas/ignore-item "3DD8406C-A116-11D9-A5A2-000D93C8BE28")
+ (yas-ignore-item "3DD8406C-A116-11D9-A5A2-000D93C8BE28")
;; Ignoring Convert Character / Selection to Entities Excl. Tags
- (yas/ignore-item "43C9E8AE-3E53-4B82-A1AF-56697BB3EF09")
+ (yas-ignore-item "43C9E8AE-3E53-4B82-A1AF-56697BB3EF09")
;; Ignoring Decode Entities in Line / Selection
- (yas/ignore-item "C183920D-A126-11D9-A5A2-000D93C8BE28")
+ (yas-ignore-item "C183920D-A126-11D9-A5A2-000D93C8BE28")
;; Non-Breaking Space
- (yas/item "73B40BAE-A295-11D9-87F7-000D93C8BE28")
+ (yas-item "73B40BAE-A295-11D9-87F7-000D93C8BE28")
;; →
- (yas/item "C70BB693-0954-4440-AEB4-F2ADD6D923F0")
+ (yas-item "C70BB693-0954-4440-AEB4-F2ADD6D923F0")
;; ←
- (yas/item "C0418A4A-7E42-4D49-8F86-6E339296CB84")
+ (yas-item "C0418A4A-7E42-4D49-8F86-6E339296CB84")
;; ⇤
- (yas/item "7F102705-27D8-4029-BF61-2F042FB61E06")
+ (yas-item "7F102705-27D8-4029-BF61-2F042FB61E06")
;; ⌅
- (yas/item "7062316B-4236-4793-AD35-05E4A6577393")
+ (yas-item "7062316B-4236-4793-AD35-05E4A6577393")
;; ⌃
- (yas/item "B4987DA5-9C2F-4D2D-AC14-678115079205")
+ (yas-item "B4987DA5-9C2F-4D2D-AC14-678115079205")
;; ⌦
- (yas/item "44E448B6-37CE-4BFE-8611-C5113593B74B")
+ (yas-item "44E448B6-37CE-4BFE-8611-C5113593B74B")
;; ↩
- (yas/item "9B216475-D73D-4518-851F-CACD0066A909")
+ (yas-item "9B216475-D73D-4518-851F-CACD0066A909")
;; ⇥
- (yas/item "ADC78A82-40C2-4AAC-8968-93AF0ED98DF0")
+ (yas-item "ADC78A82-40C2-4AAC-8968-93AF0ED98DF0")
;; ⌫
- (yas/item "38E50882-27AF-4246-A039-355C3E1A699E")
+ (yas-item "38E50882-27AF-4246-A039-355C3E1A699E")
;; ⌘
- (yas/item "7214ACD1-93D9-4D3F-A428-8A7302E0A35E")
+ (yas-item "7214ACD1-93D9-4D3F-A428-8A7302E0A35E")
;; ↓
- (yas/item "35654B4E-2D76-4CD3-8FBB-2DA1F314BA19")
+ (yas-item "35654B4E-2D76-4CD3-8FBB-2DA1F314BA19")
;; →
- (yas/item "AC15621A-8A16-40DD-A671-EA4C37637215")
+ (yas-item "AC15621A-8A16-40DD-A671-EA4C37637215")
;; ↑
- (yas/item "0E2F4A47-EADE-4A05-931E-FC874FA28FC3")
+ (yas-item "0E2F4A47-EADE-4A05-931E-FC874FA28FC3")
;; ⇧
- (yas/item "1B8D58B9-D9DB-484C-AACD-5D5DF5385308")
+ (yas-item "1B8D58B9-D9DB-484C-AACD-5D5DF5385308")
;; ⎋
- (yas/item "D7CC7C7C-CD01-4357-AF91-AEFFD914DF98")
+ (yas-item "D7CC7C7C-CD01-4357-AF91-AEFFD914DF98")
;; ⌥
- (yas/item "980A8D39-CA8B-4EC2-9739-DC36A262F28E")
- (yas/separator)
+ (yas-item "980A8D39-CA8B-4EC2-9739-DC36A262F28E")
+ (yas-separator)
;; Ignoring Insert Entity…
- (yas/ignore-item "89E5CC0A-3EFF-4DEF-A299-2E9651DE6529")))
- (yas/submenu "URL Escapes"
+ (yas-ignore-item "89E5CC0A-3EFF-4DEF-A299-2E9651DE6529")))
+ (yas-submenu "URL Escapes"
(;; Ignoring URL Escape Line / Selection
- (yas/ignore-item "6B024865-6095-4CE3-8EDD-DC6F2230C2FF")
+ (yas-ignore-item "6B024865-6095-4CE3-8EDD-DC6F2230C2FF")
;; Ignoring URL Unescape Line / Selection
- (yas/ignore-item "2C4C9673-B166-432A-8938-75A5CA622481")))
+ (yas-ignore-item "2C4C9673-B166-432A-8938-75A5CA622481")))
;; Ignoring Encrypt Line / Selection (ROT 13)
- (yas/ignore-item "9B13543F-8356-443C-B6E7-D9259B604927")
+ (yas-ignore-item "9B13543F-8356-443C-B6E7-D9259B604927")
;; Ignoring CodeCompletion HTML Attributes
- (yas/ignore-item "CBD82CF3-74E9-4E7A-B3F6-9348754EB5AA")
+ (yas-ignore-item "CBD82CF3-74E9-4E7A-B3F6-9348754EB5AA")
;; Insert Open/Close Tag (With Current Word)
- (yas/item "2ED44A32-C353-447F-BAE4-E3522DB6944D")
+ (yas-item "2ED44A32-C353-447F-BAE4-E3522DB6944D")
;; Ignoring Insert Close Tag
- (yas/ignore-item "0658019F-3635-462E-AAC2-74E4FE508A9B")
- (yas/submenu "Insert DocType"
+ (yas-ignore-item "0658019F-3635-462E-AAC2-74E4FE508A9B")
+ (yas-submenu "Insert DocType"
(;; HTML — 4.01 Strict
- (yas/item "944F1410-188C-4D70-8340-CECAA56FC7F2")
+ (yas-item "944F1410-188C-4D70-8340-CECAA56FC7F2")
;; HTML — 4.01 Transitional
- (yas/item "B2AAEE56-42D8-42C3-8F67-865473F50E8D")
- (yas/separator)
+ (yas-item "B2AAEE56-42D8-42C3-8F67-865473F50E8D")
+ (yas-separator)
;; XHTML — 1.0 Frameset
- (yas/item "9ED6ABBE-A802-11D9-BFC8-000D93C8BE28")
+ (yas-item "9ED6ABBE-A802-11D9-BFC8-000D93C8BE28")
;; XHTML — 1.0 Strict
- (yas/item "C8B83564-A802-11D9-BFC8-000D93C8BE28")
+ (yas-item "C8B83564-A802-11D9-BFC8-000D93C8BE28")
;; XHTML — 1.0 Transitional
- (yas/item "7D8C2F74-A802-11D9-BFC8-000D93C8BE28")
+ (yas-item "7D8C2F74-A802-11D9-BFC8-000D93C8BE28")
;; XHTML — 1.1
- (yas/item "5CE8FC6E-A802-11D9-BFC8-000D93C8BE28")))
- (yas/submenu "Insert Tag"
+ (yas-item "5CE8FC6E-A802-11D9-BFC8-000D93C8BE28")))
+ (yas-submenu "Insert Tag"
(;; Ignoring CodeCompletion HTML Tags
- (yas/ignore-item "3463E85F-F500-49A0-8631-D78ED85F9D60")
+ (yas-ignore-item "3463E85F-F500-49A0-8631-D78ED85F9D60")
;; Base
- (yas/item "4462A6B8-A08A-11D9-A5A2-000D93C8BE28")
+ (yas-item "4462A6B8-A08A-11D9-A5A2-000D93C8BE28")
;; Body
- (yas/item "4905D47B-A08B-11D9-A5A2-000D93C8BE28")
+ (yas-item "4905D47B-A08B-11D9-A5A2-000D93C8BE28")
;; Br
- (yas/item "3E008E42-A5C9-11D9-9BCD-000D93C8BE28")
+ (yas-item "3E008E42-A5C9-11D9-9BCD-000D93C8BE28")
;; Div
- (yas/item "576036C0-A60E-11D9-ABD6-000D93C8BE28")
+ (yas-item "576036C0-A60E-11D9-ABD6-000D93C8BE28")
;; Embed QT Movie
- (yas/item "42F15753-9B6D-4DD8-984C-807B94363277")
+ (yas-item "42F15753-9B6D-4DD8-984C-807B94363277")
;; Fieldset
- (yas/item "9BD2BE01-A854-4D55-B584-725D04C075C0")
+ (yas-item "9BD2BE01-A854-4D55-B584-725D04C075C0")
;; Form
- (yas/item "232C2E8B-A08E-11D9-A5A2-000D93C8BE28")
+ (yas-item "232C2E8B-A08E-11D9-A5A2-000D93C8BE28")
;; Head
- (yas/item "9CF008C4-A086-11D9-A5A2-000D93C8BE28")
+ (yas-item "9CF008C4-A086-11D9-A5A2-000D93C8BE28")
;; Heading
- (yas/item "65BA66DC-A07F-11D9-A5A2-000D93C8BE28")
+ (yas-item "65BA66DC-A07F-11D9-A5A2-000D93C8BE28")
;; Input
- (yas/item "44180979-A08E-11D9-A5A2-000D93C8BE28")
+ (yas-item "44180979-A08E-11D9-A5A2-000D93C8BE28")
;; Input with Label
- (yas/item "D8DCCC81-749A-4E2A-B4BC-D109D5799CAA")
+ (yas-item "D8DCCC81-749A-4E2A-B4BC-D109D5799CAA")
;; Link
- (yas/item "77BFD0C0-A08A-11D9-A5A2-000D93C8BE28")
+ (yas-item "77BFD0C0-A08A-11D9-A5A2-000D93C8BE28")
;; Mail Anchor
- (yas/item "81DA4C74-A530-11D9-9BCD-000D93C8BE28")
+ (yas-item "81DA4C74-A530-11D9-9BCD-000D93C8BE28")
;; Meta
- (yas/item "DA99AC44-A083-11D9-A5A2-000D93C8BE28")
+ (yas-item "DA99AC44-A083-11D9-A5A2-000D93C8BE28")
;; Option
- (yas/item "5820372E-A093-4F38-B25C-B0CCC50A0FC4")
+ (yas-item "5820372E-A093-4F38-B25C-B0CCC50A0FC4")
;; Script
- (yas/item "6592050A-A087-11D9-A5A2-000D93C8BE28")
+ (yas-item "6592050A-A087-11D9-A5A2-000D93C8BE28")
;; Script With External Source
- (yas/item "7D676C4C-A087-11D9-A5A2-000D93C8BE28")
+ (yas-item "7D676C4C-A087-11D9-A5A2-000D93C8BE28")
;; Select Box
- (yas/item "26023CFF-C73F-4EF5-9803-E4DBA2CBEADD")
+ (yas-item "26023CFF-C73F-4EF5-9803-E4DBA2CBEADD")
;; Style
- (yas/item "3C518074-A088-11D9-A5A2-000D93C8BE28")
+ (yas-item "3C518074-A088-11D9-A5A2-000D93C8BE28")
;; Table
- (yas/item "57176082-A12F-11D9-A5A2-000D93C8BE28")
+ (yas-item "57176082-A12F-11D9-A5A2-000D93C8BE28")
;; Text Area
- (yas/item "AAC9D7B8-A12C-11D9-A5A2-000D93C8BE28")
+ (yas-item "AAC9D7B8-A12C-11D9-A5A2-000D93C8BE28")
;; Title
- (yas/item "B62ECABE-A086-11D9-A5A2-000D93C8BE28")))
+ (yas-item "B62ECABE-A086-11D9-A5A2-000D93C8BE28")))
- (yas/submenu "Includes"
+ (yas-submenu "Includes"
(;; Ignoring Add Persistent Include
- (yas/ignore-item "0D814247-7A00-46EE-A2A4-45FBBF4B1181")
+ (yas-ignore-item "0D814247-7A00-46EE-A2A4-45FBBF4B1181")
;; Ignoring Update Document
- (yas/ignore-item "4400BCE9-20E3-426E-B1D7-2C0BCA53BCF8")
+ (yas-ignore-item "4400BCE9-20E3-426E-B1D7-2C0BCA53BCF8")
;; Ignoring Help: Persistent Includes
- (yas/ignore-item "9AFDEB2C-D9F0-423E-8211-EBB089F51F0C")))
- (yas/submenu "Format"
+ (yas-ignore-item "9AFDEB2C-D9F0-423E-8211-EBB089F51F0C")))
+ (yas-submenu "Format"
(;; Strong
- (yas/item "4117D930-B6FA-4022-97E7-ECCAF4E70F63")
+ (yas-item "4117D930-B6FA-4022-97E7-ECCAF4E70F63")
;; Emphasize
- (yas/item "EBB98620-3292-4621-BA38-D8A9A65D9551")))
- (yas/submenu "Conditional Comments"
+ (yas-item "EBB98620-3292-4621-BA38-D8A9A65D9551")))
+ (yas-submenu "Conditional Comments"
(;; IE Conditional Comment: Internet Explorer
- (yas/item "0ED6DA73-F38F-4A65-B18F-3379D2BA9387")
+ (yas-item "0ED6DA73-F38F-4A65-B18F-3379D2BA9387")
;; IE Conditional Comment: Internet Explorer 5.0 only
- (yas/item "3A517A94-001E-464D-8184-1FE56D0D0D70")
+ (yas-item "3A517A94-001E-464D-8184-1FE56D0D0D70")
;; IE Conditional Comment: Internet Explorer 5.5 only
- (yas/item "E3F8984E-7269-4981-9D30-967AB56A6ACE")
+ (yas-item "E3F8984E-7269-4981-9D30-967AB56A6ACE")
;; IE Conditional Comment: Internet Explorer 5.x
- (yas/item "F3512848-7889-45DA-993B-0547976C8E6D")
+ (yas-item "F3512848-7889-45DA-993B-0547976C8E6D")
;; IE Conditional Comment: Internet Explorer 6 and below
- (yas/item "32BBB9AB-8732-4F91-A587-354941A27B69")
+ (yas-item "32BBB9AB-8732-4F91-A587-354941A27B69")
;; IE Conditional Comment: Internet Explorer 6 only
- (yas/item "48DF7485-52EA-49B3-88AF-3A41F933F325")
+ (yas-item "48DF7485-52EA-49B3-88AF-3A41F933F325")
;; IE Conditional Comment: Internet Explorer 7 and above
- (yas/item "CBC24AF4-88E0-498B-BE50-934B9CF29EC7")
+ (yas-item "CBC24AF4-88E0-498B-BE50-934B9CF29EC7")
;; IE Conditional Comment: NOT Internet Explorer
- (yas/item "F00170EE-4A82-413F-A88B-85293E69A88B")))
+ (yas-item "F00170EE-4A82-413F-A88B-85293E69A88B")))
;; Wrap Selection in Open/Close Tag
- (yas/item "BC8B8AE2-5F16-11D9-B9C3-000D93589AF6")
+ (yas-item "BC8B8AE2-5F16-11D9-B9C3-000D93589AF6")
;; Wrap Each Selected Line in Open/Close Tag
- (yas/item "991E7EBD-F3F5-469A-BA01-DC30E04AD472")
+ (yas-item "991E7EBD-F3F5-469A-BA01-DC30E04AD472")
;; Wrap in <?= … ?>
- (yas/item "912906A0-9A29-434B-AE98-E9DFDE6E48B4")
- (yas/separator)
+ (yas-item "912906A0-9A29-434B-AE98-E9DFDE6E48B4")
+ (yas-separator)
;; Ignoring Strip HTML Tags from Document / Selection
- (yas/ignore-item "20D760B5-A127-11D9-A5A2-000D93C8BE28")
+ (yas-ignore-item "20D760B5-A127-11D9-A5A2-000D93C8BE28")
;; Ignoring Tidy
- (yas/ignore-item "45F92B81-6F0E-11D9-A1E4-000D9332809C"))
+ (yas-ignore-item "45F92B81-6F0E-11D9-A1E4-000D9332809C"))
'("7B7E945E-A112-11D9-A5A2-000D93C8BE28"
"3C44EABE-8D6F-4B1B-AB91-F419FAD1A0AD"
"9AFDEB2C-D9F0-423E-8211-EBB089F51F0C"
@@ -485,205 +485,205 @@
;;
;; Substitutions for: content
;;
-;; # as in Templates/XHTML 1.1/info.yasnippet
-;; CDE8EFD6-9DE2-4E8C-BB6A-52E8CCD2E977 =yyas> (yas/unknown)
+;; # as in Snippets/Emphasize.yasnippet
+;; `(yas-html-toggle-wrap yas-selected-text "em")` =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment Internet Explorer.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer ")` =yyas> (yas/unknown)
+;; # as in Snippets/XHTML h1.yasnippet
+;; `yas-selected-text` =yyas> (yas-unknown)
;;
;; # as in Snippets/IE Conditional Comment Internet Explorer 5_0 only.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer 5.0 only ")` =yyas> (yas/unknown)
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer 5.0 only ")` =yyas> (yas-unknown)
;;
-;; # as in Commands/CodeCompletion HTML Tags.yasnippet
-;; 3463E85F-F500-49A0-8631-D78ED85F9D60 =yyas> (yas/unknown)
-;;
-;; # as in Snippets/Emphasize.yasnippet
-;; `(yas/html-toggle-wrap yas/selected-text "em")` =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment Internet Explorer 5_5 only.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer 5.5 only ")` =yyas> (yas-unknown)
;;
-;; # as in Templates/HTML 4.0 Transitional/info.yasnippet
-;; E6F19171-F664-4B4F-92DA-3E15E6CAD35C =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment Internet Explorer 5_x.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer 5.x ")` =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML form.yasnippet
-;; ${TM_FILENAME/(.*?)\..*/$1_submit/} =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment Internet Explorer 6 and below.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer 6 and below ")` =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML body.yasnippet
-;; ${TM_FILENAME/(.*)\..*/\L$1/} =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment Internet Explorer 6 only.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer 6 only ")` =yyas> (yas-unknown)
;;
-;; # as in Commands/Insert Entity.yasnippet
-;; 89E5CC0A-3EFF-4DEF-A299-2E9651DE6529 =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment Internet Explorer 7+.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer 7 and above ")` =yyas> (yas-unknown)
;;
-;; # as in Commands/Convert to HTML Entities.yasnippet
-;; 3DD8406C-A116-11D9-A5A2-000D93C8BE28 =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment Internet Explorer.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: Internet Explorer ")` =yyas> (yas-unknown)
;;
-;; # as in Commands/Persistent Include.yasnippet
-;; 0D814247-7A00-46EE-A2A4-45FBBF4B1181 =yyas> (yas/unknown)
+;; # as in Snippets/IE Conditional Comment NOT Internet Explorer.yasnippet
+;; `(or (yas-selected-text) " IE Conditional Comment: NOT Internet Explorer ")` =yyas> (yas-unknown)
;;
-;; # as in Commands/Refresh All Active Browsers.yasnippet
-;; B8651C6E-A05E-11D9-86AC-000D93C8BE28 =yyas> (yas/unknown)
+;; # as in Snippets/XHTML meta.yasnippet
+;; `yas-html-xhtml-attr` =yyas> (yas-unknown)
;;
;; # as in Snippets/Strong.yasnippet
-;; `(yas/html-toggle-wrap yas/selected-text "strong")` =yyas> (yas/unknown)
+;; `(yas-html-toggle-wrap yas-selected-text "strong")` =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment Internet Explorer 5_5 only.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer 5.5 only ")` =yyas> (yas/unknown)
+;; # as in Commands/About Persistent Includes.yasnippet
+;; 9AFDEB2C-D9F0-423E-8211-EBB089F51F0C =yyas> (yas-unknown)
;;
-;; # as in DragCommands/CSS Link.yasnippet
-;; C8B717C2-6B33-11D9-BB47-000D93589AF6 =yyas> (yas/unknown)
+;; # as in Commands/CodeCompletion HTML Attributes.yasnippet
+;; CBD82CF3-74E9-4E7A-B3F6-9348754EB5AA =yyas> (yas-unknown)
;;
-;; # as in Commands/Insert Close Tag.yasnippet
-;; 0658019F-3635-462E-AAC2-74E4FE508A9B =yyas> (yas/unknown)
+;; # as in Commands/CodeCompletion HTML Tags.yasnippet
+;; 3463E85F-F500-49A0-8631-D78ED85F9D60 =yyas> (yas-unknown)
;;
-;; # as in Commands/Decode Numeric URL Escapes in Line Selection.yasnippet
-;; 2C4C9673-B166-432A-8938-75A5CA622481 =yyas> (yas/unknown)
+;; # as in Commands/Encrypt Line Selection (ROT 13).yasnippet
+;; 9B13543F-8356-443C-B6E7-D9259B604927 =yyas> (yas-unknown)
;;
-;; # as in Commands/Convert to named entities excl tags.yasnippet
-;; 43C9E8AE-3E53-4B82-A1AF-56697BB3EF09 =yyas> (yas/unknown)
+;; # as in Commands/Persistent Include.yasnippet
+;; 0D814247-7A00-46EE-A2A4-45FBBF4B1181 =yyas> (yas-unknown)
;;
-;; # as in Commands/About Persistent Includes.yasnippet
-;; 9AFDEB2C-D9F0-423E-8211-EBB089F51F0C =yyas> (yas/unknown)
+;; # as in Commands/Update Includes.yasnippet
+;; 4400BCE9-20E3-426E-B1D7-2C0BCA53BCF8 =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML meta.yasnippet
-;; `yas/html-xhtml-attr` =yyas> (yas/unknown)
+;; # as in Commands/Convert Line Selection to URL Escapes.yasnippet
+;; 6B024865-6095-4CE3-8EDD-DC6F2230C2FF =yyas> (yas-unknown)
;;
-;; # as in Templates/HTML 4.0 Strict/info.yasnippet
-;; 04332FA8-8157-46C4-9854-8C190FFD96C6 =yyas> (yas/unknown)
+;; # as in Commands/Convert to HTML Entities.yasnippet
+;; 3DD8406C-A116-11D9-A5A2-000D93C8BE28 =yyas> (yas-unknown)
;;
-;; # as in Macros/Delete whitespace between tags.yasnippet
-;; 7B7E945E-A112-11D9-A5A2-000D93C8BE28 =yyas> (yas/unknown)
+;; # as in Commands/Convert to named entities excl tags.yasnippet
+;; 43C9E8AE-3E53-4B82-A1AF-56697BB3EF09 =yyas> (yas-unknown)
;;
-;; # as in DragCommands/Anchor Tag.yasnippet
-;; B23D6E15-6B33-11D9-86C1-000D93589AF6 =yyas> (yas/unknown)
+;; # as in Commands/Decode HTML Entities.yasnippet
+;; C183920D-A126-11D9-A5A2-000D93C8BE28 =yyas> (yas-unknown)
;;
-;; # as in Templates/XHTML 1.0 Transitional/info.yasnippet
-;; 65D38039-6B0A-48E9-9E49-43832ECC4107 =yyas> (yas/unknown)
+;; # as in Commands/Decode Numeric URL Escapes in Line Selection.yasnippet
+;; 2C4C9673-B166-432A-8938-75A5CA622481 =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML title.yasnippet
-;; ${TM_FILENAME/((.+)\..*)?/(?2:$2:Page Title)/} =yyas> (yas/unknown)
+;; # as in Commands/Insert Close Tag.yasnippet
+;; 0658019F-3635-462E-AAC2-74E4FE508A9B =yyas> (yas-unknown)
;;
-;; # as in Commands/Tidy.yasnippet
-;; 45F92B81-6F0E-11D9-A1E4-000D9332809C =yyas> (yas/unknown)
+;; # as in Commands/Insert Entity.yasnippet
+;; 89E5CC0A-3EFF-4DEF-A299-2E9651DE6529 =yyas> (yas-unknown)
;;
-;; # as in Commands/Strip HTML tags.yasnippet
-;; 20D760B5-A127-11D9-A5A2-000D93C8BE28 =yyas> (yas/unknown)
+;; # as in Commands/Refresh All Active Browsers.yasnippet
+;; B8651C6E-A05E-11D9-86AC-000D93C8BE28 =yyas> (yas-unknown)
;;
-;; # as in Commands/Encrypt Line Selection (ROT 13).yasnippet
-;; 9B13543F-8356-443C-B6E7-D9259B604927 =yyas> (yas/unknown)
+;; # as in Commands/Strip HTML tags.yasnippet
+;; 20D760B5-A127-11D9-A5A2-000D93C8BE28 =yyas> (yas-unknown)
;;
-;; # as in Templates/XHTML 1.0 Strict/info.yasnippet
-;; EBEE6B51-29C7-4362-818F-A190CACD5296 =yyas> (yas/unknown)
+;; # as in Commands/Tidy.yasnippet
+;; 45F92B81-6F0E-11D9-A1E4-000D9332809C =yyas> (yas-unknown)
;;
;; # as in Commands/W3C validation.yasnippet
-;; 3F26240E-6E4A-11D9-B411-000D93589AF6 =yyas> (yas/unknown)
+;; 3F26240E-6E4A-11D9-B411-000D93589AF6 =yyas> (yas-unknown)
;;
-;; # as in Commands/Convert Line Selection to URL Escapes.yasnippet
-;; 6B024865-6095-4CE3-8EDD-DC6F2230C2FF =yyas> (yas/unknown)
+;; # as in DragCommands/Anchor Tag.yasnippet
+;; B23D6E15-6B33-11D9-86C1-000D93589AF6 =yyas> (yas-unknown)
;;
-;; # as in Commands/Update Includes.yasnippet
-;; 4400BCE9-20E3-426E-B1D7-2C0BCA53BCF8 =yyas> (yas/unknown)
+;; # as in DragCommands/CSS Link.yasnippet
+;; C8B717C2-6B33-11D9-BB47-000D93589AF6 =yyas> (yas-unknown)
;;
-;; # as in Commands/CodeCompletion HTML Attributes.yasnippet
-;; CBD82CF3-74E9-4E7A-B3F6-9348754EB5AA =yyas> (yas/unknown)
+;; # as in DragCommands/Image Tag.yasnippet
+;; CD6D2CC6-6B33-11D9-BDFD-000D93589AF6 =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment Internet Explorer 6 and below.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer 6 and below ")` =yyas> (yas/unknown)
+;; # as in Macros/Delete whitespace between tags.yasnippet
+;; 7B7E945E-A112-11D9-A5A2-000D93C8BE28 =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment Internet Explorer 5_x.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer 5.x ")` =yyas> (yas/unknown)
+;; # as in Snippets/XHTML body.yasnippet
+;; ${TM_FILENAME/(.*)\..*/\L$1/} =yyas> (yas-unknown)
;;
-;; # as in DragCommands/Image Tag.yasnippet
-;; CD6D2CC6-6B33-11D9-BDFD-000D93589AF6 =yyas> (yas/unknown)
+;; # as in Snippets/XHTML form.yasnippet
+;; ${TM_FILENAME/(.*?)\..*/$1_submit/} =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment NOT Internet Explorer.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: NOT Internet Explorer ")` =yyas> (yas/unknown)
+;; # as in Snippets/XHTML title.yasnippet
+;; ${TM_FILENAME/((.+)\..*)?/(?2:$2:Page Title)/} =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML h1.yasnippet
-;; `yas/selected-text` =yyas> (yas/unknown)
+;; # as in Templates/HTML 4.0 Strict/info.yasnippet
+;; 04332FA8-8157-46C4-9854-8C190FFD96C6 =yyas> (yas-unknown)
+;;
+;; # as in Templates/HTML 4.0 Transitional/info.yasnippet
+;; E6F19171-F664-4B4F-92DA-3E15E6CAD35C =yyas> (yas-unknown)
;;
;; # as in Templates/XHTML 1.0 Frameset/info.yasnippet
-;; 26068A55-4C84-409D-BA00-162B55AF6961 =yyas> (yas/unknown)
+;; 26068A55-4C84-409D-BA00-162B55AF6961 =yyas> (yas-unknown)
;;
-;; # as in Commands/Decode HTML Entities.yasnippet
-;; C183920D-A126-11D9-A5A2-000D93C8BE28 =yyas> (yas/unknown)
+;; # as in Templates/XHTML 1.0 Strict/info.yasnippet
+;; EBEE6B51-29C7-4362-818F-A190CACD5296 =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment Internet Explorer 7+.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer 7 and above ")` =yyas> (yas/unknown)
+;; # as in Templates/XHTML 1.0 Transitional/info.yasnippet
+;; 65D38039-6B0A-48E9-9E49-43832ECC4107 =yyas> (yas-unknown)
;;
-;; # as in Snippets/IE Conditional Comment Internet Explorer 6 only.yasnippet
-;; `(or (yas/selected-text) " IE Conditional Comment: Internet Explorer 6 only ")` =yyas> (yas/unknown)
+;; # as in Templates/XHTML 1.1/info.yasnippet
+;; CDE8EFD6-9DE2-4E8C-BB6A-52E8CCD2E977 =yyas> (yas-unknown)
;;
;;
;; Substitutions for: condition
;;
-;; # as in Snippets/XHTML head.yasnippet
-;; text.html - text.html source =yyas> (yas/unknown)
+;; # as in Templates/XHTML 1.1/info.yasnippet
+;; text.html =yyas> (yas-unknown)
;;
;; # as in Commands/CodeCompletion HTML Attributes.yasnippet
-;; text.html punctuation.definition.tag -source, text.html meta.tag -entity.other.attribute-name -source =yyas> (yas/unknown)
-;;
-;; # as in Snippets/Smart returnindent for tag pairs.yasnippet
-;; meta.scope.between-tag-pair =yyas> (yas/unknown)
+;; text.html punctuation.definition.tag -source, text.html meta.tag -entity.other.attribute-name -source =yyas> (yas-unknown)
;;
;; # as in Commands/CodeCompletion HTML Tags.yasnippet
-;; text.html -entity.other.attribute-name -string.quoted, invalid.illegal.incomplete.html =yyas> (yas/unknown)
+;; text.html -entity.other.attribute-name -string.quoted, invalid.illegal.incomplete.html =yyas> (yas-unknown)
;;
-;; # as in Snippets/Wrap Selection In Tag.yasnippet
-;; text.html, =yyas> (yas/unknown)
+;; # as in Commands/Documentation for Tag.yasnippet
+;; text.html, text.html entity.name.tag =yyas> (yas-unknown)
;;
;; # as in Commands/Refresh All Active Browsers.yasnippet
-;; text.html, source.css =yyas> (yas/unknown)
+;; text.html, source.css =yyas> (yas-unknown)
;;
-;; # as in Templates/XHTML 1.1/info.yasnippet
-;; text.html =yyas> (yas/unknown)
-;;
-;; # as in Commands/Documentation for Tag.yasnippet
-;; text.html, text.html entity.name.tag =yyas> (yas/unknown)
+;; # as in Snippets/Smart returnindent for tag pairs.yasnippet
+;; meta.scope.between-tag-pair =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML title.yasnippet
-;; text.html - text.blog =yyas> (yas/unknown)
+;; # as in Snippets/Wrap Selection In Tag.yasnippet
+;; text.html, =yyas> (yas-unknown)
;;
;; # as in Snippets/Wrap in =.yasnippet
-;; text.html string =yyas> (yas/unknown)
+;; text.html string =yyas> (yas-unknown)
+;;
+;; # as in Snippets/XHTML head.yasnippet
+;; text.html - text.html source =yyas> (yas-unknown)
+;;
+;; # as in Snippets/XHTML title.yasnippet
+;; text.html - text.blog =yyas> (yas-unknown)
;;
;;
;; Substitutions for: binding
;;
-;; # as in Commands/Persistent Include.yasnippet
-;; =yyas> (yas/unknown)
+;; # as in Commands/CodeCompletion HTML Tags.yasnippet
+;; ~ =yyas> (yas-unknown)
;;
-;; # as in Snippets/XHTML &nbsp NonBreakingSpace.yasnippet
-;; ~ =yyas> (yas/unknown)
+;; # as in Commands/Insert Entity.yasnippet
+;; @& =yyas> (yas-unknown)
;;
-;; # as in Snippets/Smart returnindent for tag pairs.yasnippet
-;;
+;; # as in Commands/Persistent Include.yasnippet
+;; =yyas> (yas-unknown)
;;
-;;
-;; # as in Commands/W3C validation.yasnippet
+;; # as in Commands/Update Includes.yasnippet
+;; ^@u =yyas> (yas-unknown)
;;
;; # as in Commands/Insert Close Tag.yasnippet
-;; # as in Commands/Insert Close Tag.yasnippet
-;; ~@. =yyas> (yas/unknown)
-;;
-;; # as in Snippets/XHTML br.yasnippet
-;; ^
- =yyas> (yas/unknown)
-;;
+;; ~@. =yyas> (yas-unknown)
;;
;; # as in Commands/Refresh All Active Browsers.yasnippet
-;;
+;; @r =yyas> (yas-unknown)
;;
-;; @r =yyas> (yas/unknown)
-;;
+;; # as in Commands/Tidy.yasnippet
+;; ^H =yyas> (yas-unknown)
;;
-;; ~ =yyas> (yas/unknown)
-;;
+;; # as in Commands/W3C validation.yasnippet
+;; ^V =yyas> (yas-unknown)
;;
;; # as in Macros/Delete whitespace between tags.yasnippet
-;;
+;; ^~ =yyas> (yas-unknown)
;;
-;; ^~ =yyas> (yas/unknown)
-;;
+;; # as in Snippets/Smart returnindent for tag pairs.yasnippet
+;;
+ =yyas> (yas-unknown)
+;;
+;; # as in Snippets/XHTML &nbsp NonBreakingSpace.yasnippet
+;; ~ =yyas> (yas-unknown)
+;;
+;; # as in Snippets/XHTML br.yasnippet
;; ^
=yyas> (yas-unknown)
;;
View
38 extras/imported/objc-mode/.yas-setup.el
@@ -1,41 +1,41 @@
-(defun yas/objc-docset-query (query)
+(defun yas-objc-docset-query (query)
)
-(defvar yas/objc-method-names (make-vector 1023 0))
-(defvar yas/objc-class-names (make-vector 1023 0))
+(defvar yas-objc-method-names (make-vector 1023 0))
+(defvar yas-objc-class-names (make-vector 1023 0))
-(defvar yas/objc-languages (list))
-(defvar yas/objc-defkinds (list))
+(defvar yas-objc-languages (list))
+(defvar yas-objc-defkinds (list))
-(defun yas/objc-extract-super-list ()
+(defun yas-objc-extract-super-list ()
(interactive)
- (setq yas/objc-method-names (make-vector 1023 0)
- yas/objc-class-names (make-vector 1023 0)
- yas/objc-languages (list)
- yas/objc-defkinds (list))
+ (setq yas-objc-method-names (make-vector 1023 0)
+ yas-objc-class-names (make-vector 1023 0)
+ yas-objc-languages (list)
+ yas-objc-defkinds (list))
(with-temp-buffer
(shell-command
"/Developer/usr/bin/docsetutil dump -skip-text /Developer/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset/"
(current-buffer))
(goto-char (point-min))
(search-forward-regexp "API index contains .* tokens")
(while (search-forward-regexp "^\\([^/]*\\)/\\([^/]*\\)/\\([^/]*\\)/\\([^/]*\\)$" nil 'noerror)
- (intern (match-string 3) yas/objc-class-names)
- (intern (match-string 4) yas/objc-method-names)
- (add-to-list 'yas/objc-languages (match-string 1))
- (add-to-list 'yas/objc-defkinds (match-string 2)))))
+ (intern (match-string 3) yas-objc-class-names)
+ (intern (match-string 4) yas-objc-method-names)
+ (add-to-list 'yas-objc-languages (match-string 1))
+ (add-to-list 'yas-objc-defkinds (match-string 2)))))
-;; (put (intern-soft (setq chosen (completing-read "Method: " yas/objc-method-names)) yas/objc-method-names)
+;; (put (intern-soft (setq chosen (completing-read "Method: " yas-objc-method-names)) yas-objc-method-names)
;; 'someshit
;; 'someday)
-;; (completing-read "Class: " yas/objc-class-names)
+;; (completing-read "Class: " yas-objc-class-names)
-;; (get (intern-soft (setq chosen (completing-read "hey: " yas/objc-method-names)) yas/objc-method-names)
+;; (get (intern-soft (setq chosen (completing-read "hey: " yas-objc-method-names)) yas-objc-method-names)
;; 'someshit)
-(defun yas/objc-current-method-signature ()
+(defun yas-objc-current-method-signature ()
(let ((orig-point (point))
(start-point nil)
sig
@@ -58,7 +58,7 @@
(concat (or sig "") (match-string-no-properties 0)))))
sig))))
-(defun yas/objc-current-method-signature ()
+(defun yas-objc-current-method-signature ()
(let ((orig-point (point))
(start-point nil)
sig
View
1,211 extras/imported/rails-mode/.yas-setup.el
629 additions, 582 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
772 extras/imported/ruby-mode/.yas-setup.el
@@ -1,14 +1,14 @@
;; .yas-setup.el for ruby-mode
;; -*- coding: utf-8 -*-
;;
-(defvar yas/ruby-snippet-open-paren " "
+(defvar yas-ruby-snippet-open-paren " "
"The open parenthesis used in ruby-mode snippets. Normally blank but could be (")
-(defvar yas/ruby-snippet-close-paren " "
+(defvar yas-ruby-snippet-close-paren " "
"The close parenthesis used in ruby-mode snippets. Normally blank but could be )")
-(defvar yas/ruby-shebang-args " -wKU"
+(defvar yas-ruby-shebang-args " -wKU"
"Arguments for the ruby shebang line.")
-(defun yas/ruby-infer-class-name ()
+(defun yas-ruby-infer-class-name ()
"Infer the class name from the buffer. Thanks to hitesh <hitesh.jasani@gmail.com>"
(if buffer-file-name
(let ((fn (capitalize (file-name-nondirectory
@@ -19,7 +19,7 @@
(t fn)))
"SomeClass"))
-(defun yas/ruby-chomp (x)
+(defun yas-ruby-chomp (x)
"Chomp string X, return nil if X became empty"
(let ((len (length x))
(start 0)
@@ -36,9 +36,9 @@
(unless (<= end start)
(substring x start (1+ end))))))
-(defvar yas/ruby-block-start-regexp "\\(^\\|[\s\t\n^]\\)\\(do\\)[\s\t\n]\\(|.*|\\)?")
+(defvar yas-ruby-block-start-regexp "\\(^\\|[\s\t\n^]\\)\\(do\\)[\s\t\n]\\(|.*|\\)?")
-(defun yas/ruby-toggle-single-multi-line-block ()
+(defun yas-ruby-toggle-single-multi-line-block ()
"Toggle \"do .. end\" blocks into \"{ .. }\" blocks back and forth."
;;
;; TODO: Some code to be refactored here.
@@ -48,9 +48,9 @@
(interactive)
(let* ((do-block-bounds (save-excursion
(when (or (save-excursion (beginning-of-line)
- (looking-at yas/ruby-block-start-regexp))
+ (looking-at yas-ruby-block-start-regexp))
(save-excursion (ruby-beginning-of-block)
- (looking-at yas/ruby-block-start-regexp)))
+ (looking-at yas-ruby-block-start-regexp)))
(cons (match-beginning 1)
(progn (goto-char (match-beginning 1))
(ruby-end-of-block) (point))))))
@@ -76,7 +76,7 @@
(when (string-match "\\(|.*|\\).*" block-region)
(insert " " (match-string 1 block-region))
(setq block-region (substring block-region (match-end 1))))
- (setq statements (remove nil (mapcar #'yas/ruby-chomp
+ (setq statements (remove nil (mapcar #'yas-ruby-chomp
(split-string block-region "\n"))))
(mapc #'(lambda (string)
(insert " " string)
@@ -97,7 +97,7 @@
(when (string-match "\\(|.*|\\).*" block-region)
(insert " " (match-string 1 block-region))
(setq block-region (substring block-region (match-end 1))))
- (setq statements (remove nil (mapcar #'yas/ruby-chomp
+ (setq statements (remove nil (mapcar #'yas-ruby-chomp
(split-string block-region ";"))))
(mapc #'(lambda (string)
(insert "\n" string)
@@ -110,7 +110,7 @@
(t
(message "No enclosing block found.")))))
-(defvar yas/ruby-require-regexps
+(defvar yas-ruby-require-regexps
'(("abbrev" . ("abbrev"))
("base64" . ("Base64"))
("benchmark" . ("Benchmark"))
@@ -194,7 +194,7 @@
("yaml" . ("YAML"))
("zlib" . ("Zlib"))))
-(defun yas/ruby-require (package)
+(defun yas-ruby-require (package)
(save-excursion
(goto-char (point-min))
(unless (search-forward-regexp (format "^[\s\t]*require[( ][ ]*\"%s\"[ )]*$"
@@ -204,7 +204,7 @@
(goto-char (line-beginning-position)))
(insert "require \"" package "\"\n"))))
-(defun yas/ruby-pipe-through-xmpfilter ()
+(defun yas-ruby-pipe-through-xmpfilter ()
(interactive)
(let ((start (or (and mark-active
(region-beginning))
@@ -223,8 +223,8 @@
(recenter orig-line)
retval))
-(put (intern "ruby-thing") 'bounds-of-thing-at-point 'yas/ri-ruby-thing-bounds)
-(defun yas/ri-ruby-thing-bounds ()
+(put (intern "ruby-thing") 'bounds-of-thing-at-point 'yas-ri-ruby-thing-bounds)
+(defun yas-ri-ruby-thing-bounds ()
(let ((start (point))
(end (point)))
(save-excursion
@@ -237,11 +237,11 @@
(unless (= start end)
(cons start end))))
-(defvar yas/ri-history nil
- "History of yas/ri queries.")
-(defvar yas/ri-executable "ri")
+(defvar yas-ri-history nil
+ "History of yas-ri queries.")
+(defvar yas-ri-executable "ri")
(require 'ansi-color)
-(defun yas/ri (query)
+(defun yas-ri (query)
(interactive (list (read-from-minibuffer "Ri query: "
(thing-at-point 'ruby-thing)
nil
@@ -252,93 +252,93 @@
(erase-buffer)
(setq default-directory "~")
(setq buffer-read-only nil)
- (shell-command (concat yas/ri-executable " -f ansi " query) "*Ri*")
+ (shell-command (concat yas-ri-executable " -f ansi " query) "*Ri*")
(ansi-color-apply-on-region (point-min) (point-max))
- (yas/ri-mode)
+ (yas-ri-mode)
(display-buffer (current-buffer)))
t)
-(defun yas/ri-mode ()
+(defun yas-ri-mode ()
"Mode for viewing Ruby documentation."
(buffer-disable-undo)
(kill-all-local-variables)
(local-set-key (kbd "q") 'quit-window)
- (local-set-key (kbd "RET") 'yas/ri)
+ (local-set-key (kbd "RET") 'yas-ri)
(setq mode-name "ri")
- (setq major-mode 'yas/ri-mode)
+ (setq major-mode 'yas-ri-mode)
(setq buffer-read-only t)
- (run-hooks 'yas/ri-mode-hook))
+ (run-hooks 'yas-ri-mode-hook))
;; conditions
;;
-(yas/define-condition-cache yas/ruby-in-interpolated-string-p (member (fourth (syntax-ppss)) (list ?\" ?\`)))
-(yas/define-condition-cache yas/ruby-in-comment-p (fifth (syntax-ppss)))
-(yas/define-condition-cache yas/ruby-in-string-p (fourth (syntax-ppss)))
-(yas/define-condition-cache yas/ruby-end-is-block-end-p
+(yas-define-condition-cache yas-ruby-in-interpolated-string-p (member (fourth (syntax-ppss)) (list ?\" ?\`)))
+(yas-define-condition-cache yas-ruby-in-comment-p (fifth (syntax-ppss)))
+(yas-define-condition-cache yas-ruby-in-string-p (fourth (syntax-ppss)))
+(yas-define-condition-cache yas-ruby-end-is-block-end-p
(save-excursion
(ruby-backward-sexp)
(not (eq (point) (point-min)))))
-(provide 'yas/ruby)
+(provide 'yas-ruby)
;; My work in progress substitutions
;;
;; Substitutions for: content
;;
-;; ${1/.+/(/} =yyas> ${1:$(and (yas/text) "(")}
-;; ${1/.+/)/} =yyas> ${1:$(and (yas/text) ")")}
-;; ${2/.+/ => /} =yyas> ${2:$(and (yas/text) " => ")}
+;; ${1/.+/(/} =yyas> ${1:$(and (yas-text) "(")}
+;; ${1/.+/)/} =yyas> ${1:$(and (yas-text) ")")}
+;; ${2/.+/ => /} =yyas> ${2:$(and (yas-text) " => ")}
;; ${1:${TM_FILENAME/\.\w+//} =yyas> ${1:$(and buffer-file-name (file-name-sans-extension buffer-file-name))}
-;; ${1/(^.*?\S.*)|.*/(?1:\()/} =yyas> ${1:$(and (string-match "[^\s\t]" yas/text) "(" )}
-;; ${1/(^.*?\S.*)|.*/(?1:\))/} =yyas> ${1:$(and (string-match "[^\s\t]" yas/text) ")" )}
-;; ${2/(^.*?\S.*)|.*/(?1:\()/} =yyas> ${2:$(and (string-match "[^\s\t]" yas/text) "(" )}
-;; ${2/(^.*?\S.*)|.*/(?1:\))/} =yyas> ${2:$(and (string-match "[^\s\t]" yas/text) ")" )}
-;; ${3/(^.*?\S.*)|.*/(?1:\()/} =yyas> ${3:$(and (string-match "[^\s\t]" yas/text) "(" )}
-;; ${3/(^.*?\S.*)|.*/(?1:\))/} =yyas> ${3:$(and (string-match "[^\s\t]" yas/text) ")" )}
-;; ${2/^\s*$|(.*\S.*)/(?1: )/} =yyas> ${2:$(and (string-match "[^\s\t]" yas/text) " " )}
-;; ${3/^\s*$|(.*\S.*)/(?1: )/} =yyas> ${3:$(and (string-match "[^\s\t]" yas/text) " " )}
-;; ${3/(^[rwab+]+$)|.*/(?1:, ")/} =yyas> ${3:$(and (string-match "^[rwab+]+$" yas/text) ", \\"" )}
-;; ${3/(^[rwab+]+$)|.*/(?1:")/} =yyas> ${3:$(and (string-match "^[rwab+]+$" yas/text) "\\"" )}
-;; ${3/^\s*$|(.*\S.*)/(?1:, )/} =yyas> ${3:$(and (string-match "[^\s\t]" (yas/text) ", ")}
+;; ${1/(^.*?\S.*)|.*/(?1:\()/} =yyas> ${1:$(and (string-match "[^\s\t]" yas-text) "(" )}
+;; ${1/(^.*?\S.*)|.*/(?1:\))/} =yyas> ${1:$(and (string-match "[^\s\t]" yas-text) ")" )}
+;; ${2/(^.*?\S.*)|.*/(?1:\()/} =yyas> ${2:$(and (string-match "[^\s\t]" yas-text) "(" )}
+;; ${2/(^.*?\S.*)|.*/(?1:\))/} =yyas> ${2:$(and (string-match "[^\s\t]" yas-text) ")" )}
+;; ${3/(^.*?\S.*)|.*/(?1:\()/} =yyas> ${3:$(and (string-match "[^\s\t]" yas-text) "(" )}
+;; ${3/(^.*?\S.*)|.*/(?1:\))/} =yyas> ${3:$(and (string-match "[^\s\t]" yas-text) ")" )}
+;; ${2/^\s*$|(.*\S.*)/(?1: )/} =yyas> ${2:$(and (string-match "[^\s\t]" yas-text) " " )}
+;; ${3/^\s*$|(.*\S.*)/(?1: )/} =yyas> ${3:$(and (string-match "[^\s\t]" yas-text) " " )}
+;; ${3/(^[rwab+]+$)|.*/(?1:, ")/} =yyas> ${3:$(and (string-match "^[rwab+]+$" yas-text) ", \\"" )}
+;; ${3/(^[rwab+]+$)|.*/(?1:")/} =yyas> ${3:$(and (string-match "^[rwab+]+$" yas-text) "\\"" )}
+;; ${3/^\s*$|(.*\S.*)/(?1:, )/} =yyas> ${3:$(and (string-match "[^\s\t]" (yas-text) ", ")}
;; ${TM_SELECTED_TEXT/([\t ]*).*/$1/m} =yyas>
-;; ${TM_SELECTED_TEXT/(\A.*)|(.+)|\n\z/(?1:$0:(?2:\t$0))/g} =yyas> `yas/selected-text`
-;; (yas/multi-line-unknown BF487539-8085-4FF4-8601-1AD20FABAEDC) =yyas> `(yas/ruby-infer-class-name)`
-;; (yas/multi-line-unknown 2B73EC5F-06D2-460C-A14F-6FA05AFCF0CC) =yyas> `(yas/ruby-infer-class-name)`
+;; ${TM_SELECTED_TEXT/(\A.*)|(.+)|\n\z/(?1:$0:(?2:\t$0))/g} =yyas> `yas-selected-text`
+;; (yas-multi-line-unknown BF487539-8085-4FF4-8601-1AD20FABAEDC) =yyas> `(yas-ruby-infer-class-name)`
+;; (yas-multi-line-unknown 2B73EC5F-06D2-460C-A14F-6FA05AFCF0CC) =yyas> `(yas-ruby-infer-class-name)`
;;
-;; ${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g} =yyas> `(yas/ruby-infer-class-name)`
+;; ${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g} =yyas> `(yas-ruby-infer-class-name)`
;;
-;; ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/} =yyas> ${1:$(and (yas/text) "|")}
-;; ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1: |)/} =yyas> ${1:$(and (yas/text) " |")}
-;; ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/} =yyas> ${1:$(and (yas/text) "| ")}
+;; ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/} =yyas> ${1:$(and (yas-text) "|")}
+;; ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1: |)/} =yyas> ${1:$(and (yas-text) " |")}
+;; ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/} =yyas> ${1:$(and (yas-text) "| ")}
;;
-;; ${1/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/} =yyas> ${1:$(and (yas/text) "|")}
-;; ${1/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/} =yyas> ${1:$(and (yas/text) "| ")}
-;; ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/} =yyas> ${2:$(and (yas/text) "|")}
-;; ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/} =yyas> ${2:$(and (yas/text) "| ")}
+;; ${1/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/} =yyas> ${1:$(and (yas-text) "|")}
+;; ${1/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/} =yyas> ${1:$(and (yas-text) "| ")}
+;; ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/} =yyas> ${2:$(and (yas-text) "|")}
+;; ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/} =yyas> ${2:$(and (yas-text) "| ")}
;;
-;; ${1/([\w&&[^_]]+)|./\u$1/g} =yyas> ${1:$(replace-regexp-in-string "[_/]" "" (capitalize yas/text))}
+;; ${1/([\w&&[^_]]+)|./\u$1/g} =yyas> ${1:$(replace-regexp-in-string "[_/]" "" (capitalize yas-text))}
;;
-;; 7990EE60-C850-4779-A8C0-7FD2C853B99B =yyas> (yas/ruby-toggle-single-multi-line-block)
-;; 7E084412-80E6-4B70-8092-C03D1ECE4CD2 =yyas> (yas/ruby-require "eac")(yas/expand-uuid 'ruby-mode "FDD73070-6D32-4301-A86A-C55B77C3D8ED")
-;; FBFC214F-B019-4967-95D2-028F374A3221 =yyas> (yas/ruby-pipe-through-xmpfilter)
-;; 63F3B3B7-CBE2-426B-B551-657733F3868B =yyas> (call-interactively (if (featurep 'yari) 'yari 'yas/ri))
+;; 7990EE60-C850-4779-A8C0-7FD2C853B99B =yyas> (yas-ruby-toggle-single-multi-line-block)
+;; 7E084412-80E6-4B70-8092-C03D1ECE4CD2 =yyas> (yas-ruby-require "eac")(yas-expand-uuid 'ruby-mode "FDD73070-6D32-4301-A86A-C55B77C3D8ED")
+;; FBFC214F-B019-4967-95D2-028F374A3221 =yyas> (yas-ruby-pipe-through-xmpfilter)
+;; 63F3B3B7-CBE2-426B-B551-657733F3868B =yyas> (call-interactively (if (featurep 'yari) 'yari 'yas-ri))
;;
;; `[[ $TM_LINE_INDEX != 0 ]] && echo; echo` =yyas> `(concat (if (eq 0 current-line) "\n" "") "\n")`
-;; `snippet_paren.rb` =yyas> `yas/ruby-snippet-open-paren`
-;; `snippet_paren.rb end` =yyas> `yas/ruby-snippet-close-paren`
-;; ${TM_RUBY_SWITCHES: -wKU} =yyas> `yas/ruby-shebang-args`
+;; `snippet_paren.rb` =yyas> `yas-ruby-snippet-open-paren`
+;; `snippet_paren.rb end` =yyas> `yas-ruby-snippet-close-paren`
+;; ${TM_RUBY_SWITCHES: -wKU} =yyas> `yas-ruby-shebang-args`
;;
;; Substitutions for: condition
;;
;; 7990EE60-C850-4779-A8C0-7FD2C853B99B =yyas> 'force-in-comment
;; FBFC214F-B019-4967-95D2-028F374A3221 =yyas> 'force-in-comment
;; 88BC3896-DC39-4307-A271-21D33340F15A =yyas> 'force-in-comment
;; 0F940CBC-2173-49FF-B6FD-98A62863F8F2 =yyas> 'force-in-comment
-;; 451A0596-1F72-4AFB-AF2F-45900FABB0F7 =yyas> (not (yas/ruby-end-is-block-end-p))
-;; (string.quoted.double.ruby|string.interpolated.ruby) - string source =yyas> (and (yas/ruby-in-interpolated-string-p) 'force-in-comment)
-;; text.html.ruby, text.html source.ruby =yyas> (yas/unimplemented)
-;; text.html, source.yaml, meta.erb =yyas> (yas/unimplemented)
+;; 451A0596-1F72-4AFB-AF2F-45900FABB0F7 =yyas> (not (yas-ruby-end-is-block-end-p))
+;; (string.quoted.double.ruby|string.interpolated.ruby) - string source =yyas> (and (yas-ruby-in-interpolated-string-p) 'force-in-comment)
+;; text.html.ruby, text.html source.ruby =yyas> (yas-unimplemented)
+;; text.html, source.yaml, meta.erb =yyas> (yas-unimplemented)
;; keyword.control.start-block.ruby, meta.syntax.ruby.start-block =yyas>
;;
;; Substitutions for: binding
@@ -360,450 +360,450 @@
;; ^h =yyas> C-c M-h
;;
;;
-;; # as in Commands/Enclose in + (RDoc comments).yasnippet
+;; # as in Commands/Enclose in + (RDoc comments).yasnippet
;; @k =yyas> (yas-unknown)
;;
-;; # as in Commands/Check Ruby Syntax.yasnippet
+;; # as in Commands/Check Ruby Syntax.yasnippet
;; ^V =yyas> (yas-unknown)
;;
-;; # as in Commands/Omit from RDoc.yasnippet
+;; # as in Commands/Omit from RDoc.yasnippet
;; ^@O =yyas> (yas-unknown)
;;
-;; # as in Commands/Enclose in (RDoc comments).yasnippet
+;; # as in Commands/Enclose in (RDoc comments).yasnippet
;; @b =yyas> (yas-unknown)
;;
-;; # as in Snippets/hash pointer.yasnippet
+;; # as in Snippets/hash pointer.yasnippet
;; ^l =yyas> (yas-unknown)
;;
-;; # as in Commands/Make Destructive Call.yasnippet
+;; # as in Commands/Make Destructive Call.yasnippet
;; ^! =yyas> (yas-unknown)
;;
-;; # as in Commands/Toggle Quote Style.yasnippet
+;; # as in Commands/Toggle Quote Style.yasnippet
;; ^" =yyas> (yas-unknown)
;;
-;; # as in Commands/Open Require.yasnippet
+;; # as in Commands/Open Require.yasnippet
;; @D =yyas> (yas-unknown)
;;
-;; # as in Commands/Execute Line with Ruby.yasnippet
+;; # as in Commands/Execute Line with Ruby.yasnippet
;; ^E =yyas> (yas-unknown)
;;
-;; # as in Commands/Completion Ruby (rcodetools).yasnippet
+;; # as in Commands/Completion Ruby (rcodetools).yasnippet
;; ~ =yyas> (yas-unknown)
;;
-;; # as in Macros/Delete forwardbackward.yasnippet
+;; # as in Macros/Delete forwardbackward.yasnippet
;;  =yyas> (yas-unknown)
;;
;; --**--
;; Automatically generated code, do not edit this part
;;
;; Translated menu
-;;
+;;
(yas-define-menu 'ruby-mode
- '(;; Ignoring Run
+ '(;; Ignoring Run
(yas-ignore-item "35222962-C50D-4D58-A6AE-71E7AD980BE4")
- ;; Ignoring Run Focused Unit Test
+ ;; Ignoring Run Focused Unit Test
(yas-ignore-item "5289EE40-86B8-11D9-A8D4-000A95E13C98")
- ;; Ignoring Run Rake Task
+ ;; Ignoring Run Rake Task
(yas-ignore-item "569C9822-8C41-4907-94C7-1A8A0031B66D")
- ;; Documentation for Word / Selection
- (yas/item "63F3B3B7-CBE2-426B-B551-657733F3868B")
+ ;; Documentation for Word / Selection
+ (yas-item "63F3B3B7-CBE2-426B-B551-657733F3868B")
(yas-submenu "RDoc"
- (;; Ignoring Show for Current File / Project
+ (;; Ignoring Show for Current File / Project
(yas-ignore-item "1AD6A138-2E89-4D6A-AB3F-416BF9CE968D")
-
+
(yas-submenu "Format"
- (;; Ignoring Bold
+ (;; Ignoring Bold
(yas-ignore-item "931DD73E-615E-476E-9B0D-8341023AE730")
- ;; Ignoring Italic
+ ;; Ignoring Italic
(yas-ignore-item "DAA69A0C-FC1E-4509-9931-DFFB38B4D6AE")
- ;; Ignoring Typewriter
+ ;; Ignoring Typewriter
(yas-ignore-item "2DDB6FE0-6111-4C40-A149-8E67E76F8272")))
- ;; New Block
+ ;; New Block
(yas-item "05984208-D559-4C04-A69C-2019361A985A")
- ;; Ignoring Omit
+ ;; Ignoring Omit
(yas-ignore-item "BF4CA9F1-51CD-48D4-8357-852234F59046")
- ;; :yields:
- (yas/item "ED6368FB-A11D-4622-9F42-7879481094F1")))
- (yas/separator)
+ ;; :yields:
+ (yas-item "ED6368FB-A11D-4622-9F42-7879481094F1")))
+ (yas-separator)
(yas-submenu "Rake"
- (;; namespace :name ... end
+ (;; namespace :name ... end
(yas-item "A3D89AAA-9156-4077-A026-37BB7358C3BA")
- ;; namespace :name ... task :default ... end
+ ;; namespace :name ... task :default ... end
(yas-item "2031FC41-CBD3-41CC-B9A9-7F068E607A05")
- ;; desc ...
+ ;; desc ...
(yas-item "F686E1AD-B03D-45A6-BD51-6E3FD1298FE0")
- ;; task :name ... end
+ ;; task :name ... end
(yas-item "CB81DA55-F3BC-4BFB-B0C5-29F0EE6F8081")
- ;; desc ... task :name ... end
+ ;; desc ... task :name ... end
(yas-item "FE9A8EDA-C243-4068-8F38-A615B82D08C9")
- ;; Ignoring Rake/Sake task using file path
- (yas/ignore-item "E07FF68B-C87D-4332-8477-D026929FDADA")))
+ ;; Ignoring Rake/Sake task using file path
+ (yas-ignore-item "E07FF68B-C87D-4332-8477-D026929FDADA")))
(yas-separator)
- ;; Ignoring Open Require
+ ;; Ignoring Open Require
(yas-ignore-item "8646378E-91F5-4771-AC7C-43FC49A93576")
- ;; Ignoring Validate Syntax
+ ;; Ignoring Validate Syntax
(yas-ignore-item "EE5F19BA-6C02-11D9-92BA-0011242E4184")
- ;; Ignoring Execute Line / Selection as Ruby
+ ;; Ignoring Execute Line / Selection as Ruby
(yas-ignore-item "EE5F1FB2-6C02-11D9-92BA-0011242E4184")
- ;; Execute and Update ‘# =>’ Markers
+ ;; Execute and Update ‘# =>’ Markers
(yas-item "FBFC214F-B019-4967-95D2-028F374A3221")
- ;; Add ‘# =>’ Marker
- (yas/item "88BC3896-DC39-4307-A271-21D33340F15A")
+ ;; Add ‘# =>’ Marker
+ (yas-item "88BC3896-DC39-4307-A271-21D33340F15A")
(yas-separator)
- ;; Ignoring Insert Missing Requires
+ ;; Ignoring Insert Missing Requires
(yas-ignore-item "9FB64639-F776-499B-BA6F-BB45F86F80FD")
- ;; Ignoring Add ! to Method in Line / Selection
+ ;; Ignoring Add ! to Method in Line / Selection
(yas-ignore-item "7F79BC8D-8A4F-4570-973B-05DFEC25747F")
- ;; Ignoring Toggle String / Symbol
+ ;; Ignoring Toggle String / Symbol
(yas-ignore-item "B297E4B8-A8FF-49CE-B9C4-6D4911724D43")
- ;; Insert ERb’s <% .. %> or <%= .. %>
- (yas/item "FDFABCB9-DF58-4469-AE11-5407A4FF4D70")
- (yas/separator)
+ ;; Insert ERb’s <% .. %> or <%= .. %>
+ (yas-item "FDFABCB9-DF58-4469-AE11-5407A4FF4D70")
+ (yas-separator)
(yas-submenu "Declarations"
- (;; begin … rescue … end
+ (;; begin … rescue … end
(yas-item "0F940CBC-2173-49FF-B6FD-98A62863F8F2")
- ;; case … end
+ ;; case … end
(yas-item "667083EE-62C3-11D9-B8CF-000D93589AF6")
- ;; when …
+ ;; when …
(yas-item "48D8E498-C9A5-4B1B-9A18-71A5860276FB")
- ;; if … end
+ ;; if … end
(yas-item "6670835F-62C3-11D9-B8CF-000D93589AF6")
- ;; if … else … end
+ ;; if … else … end
(yas-item "667082E6-62C3-11D9-B8CF-000D93589AF6")
- ;; elsif ...
+ ;; elsif ...
(yas-item "CD1609FA-47DA-4EE4-9C5B-5C56D953F5B1")
- ;; unless … end
+ ;; unless … end
(yas-item "F53E098D-D08E-4CE2-990A-B0BD70E60614")
- ;; while ... end
+ ;; while ... end
(yas-item "D121FC61-96A4-4B8F-8709-280EDA876FF3")
- ;; until ... end
- (yas/item "488B387C-50C0-4B2D-9260-5A7E7EAF9B42")
- (yas/separator)
+ ;; until ... end
+ (yas-item "488B387C-50C0-4B2D-9260-5A7E7EAF9B42")
+ (yas-separator)
(yas-submenu "Classes and Modules"
- (;; class .. end
+ (;; class .. end
(yas-item "BF487539-8085-4FF4-8601-1AD20FABAEDC")
- ;; class .. initialize .. end
+ ;; class .. initialize .. end
(yas-item "83EED068-8C1C-4BAF-9893-902DC00616AB")
- ;; class .. < ParentClass .. initialize .. end
+ ;; class .. < ParentClass .. initialize .. end
(yas-item "0CCBE04E-F4E2-4E55-9506-7DE67ACF8388")
- ;; ClassName = Struct .. do .. end
+ ;; ClassName = Struct .. do .. end
(yas-item "05DFF82C-5A29-4EBD-93FE-C165FFFB5EA8")
- ;; class BlankSlate .. initialize .. end
+ ;; class BlankSlate .. initialize .. end
(yas-item "E98FB8F9-7302-431D-8BF2-275A68A6126C")
- ;; Ignoring class .. < DelegateClass .. initialize .. end
+ ;; Ignoring class .. < DelegateClass .. initialize .. end
(yas-ignore-item "121B334B-2AA6-4E9A-A8B8-BF93B627982B")
- ;; class .. < DelegateClass .. initialize .. end
+ ;; class .. < DelegateClass .. initialize .. end
(yas-item "AFE1D078-EA16-45F5-AD8A-FAC1B523D861")
- ;; class << self .. end
- (yas/item "C7AAAE45-487A-4B61-8962-D47675AAC05F")
+ ;; class << self .. end
+ (yas-item "C7AAAE45-487A-4B61-8962-D47675AAC05F")
(yas-separator)
- ;; module .. end
+ ;; module .. end
(yas-item "2B73EC5F-06D2-460C-A14F-6FA05AFCF0CC")
- ;; module .. module_function .. end
+ ;; module .. module_function .. end
(yas-item "0E85EC81-2FAB-4648-B590-119CC1BB6E41")
- ;; module .. ClassMethods .. end
- (yas/item "A71A18CF-2D71-4BFF-AA0C-D9B8C59BC4EB")))
+ ;; module .. ClassMethods .. end
+ (yas-item "A71A18CF-2D71-4BFF-AA0C-D9B8C59BC4EB")))
(yas-submenu "Methods"
- (;; Ignoring New Method
+ (;; Ignoring New Method
(yas-ignore-item "0275EF39-9357-408F-AF20-79E415CA9504")
- ;; attr_reader ..
+ ;; attr_reader ..
(yas-item "A150C2D8-25B3-4339-BC92-8A0160A70486")
- ;; attr_writer ..
+ ;; attr_writer ..
(yas-item "3D383096-A03F-4EF8-9060-3C727045AB34")
- ;; attr_accessor ..
- (yas/item "D7A7D3C9-1714-4C50-8CC0-D83A03883E8F")
+ ;; attr_accessor ..
+ (yas-item "D7A7D3C9-1714-4C50-8CC0-D83A03883E8F")
(yas-separator)
- ;; include Enumerable ..
+ ;; include Enumerable ..
(yas-item "AAD5D511-6BE7-41DA-8F2B-1593A48FBB08")
- ;; include Comparable ..
- (yas/item "6C9D6B3D-D8E9-4606-9534-577C8D21FFF6")
+ ;; include Comparable ..
+ (yas-item "6C9D6B3D-D8E9-4606-9534-577C8D21FFF6")
(yas-separator)
- ;; Ignoring extend Forwardable
+ ;; Ignoring extend Forwardable
(yas-ignore-item "58FDEA60-10AF-4C49-AA09-29B77030DB25")
- ;; extend Forwardable
- (yas/item "7F46C90A-595B-4B83-A4F7-058F63CE4218")
+ ;; extend Forwardable
+ (yas-item "7F46C90A-595B-4B83-A4F7-058F63CE4218")
(yas-separator)
- ;; def … end
+ ;; def … end
(yas-item "4E9A7A73-875C-11D9-897C-000393CBCE2E")
- ;; def self .. end
+ ;; def self .. end
(yas-item "7C6E88FA-CA0E-4110-8C75-A94E54286A75")
- ;; def method_missing .. end
+ ;; def method_missing .. end
(yas-item "87D5F8AD-8DA6-4AED-A0D8-B51CAC980445")
- ;; def_delegator ..
+ ;; def_delegator ..
(yas-item "C44ED391-614F-4BA2-BB0F-87668EEA9954")
- ;; def_delegators ..
- (yas/item "4A6EFD6B-88E2-4822-AD48-03460EDBC796")
+ ;; def_delegators ..
+ (yas-item "4A6EFD6B-88E2-4822-AD48-03460EDBC796")
(yas-separator)
- ;; alias_method ..
+ ;; alias_method ..
(yas-item "988C8AEF-FC71-4455-9C4F-9338C05685A4")))
- ;; __END__
- (yas/item "451A0596-1F72-4AFB-AF2F-45900FABB0F7")
+ ;; __END__
+ (yas-item "451A0596-1F72-4AFB-AF2F-45900FABB0F7")
(yas-separator)
- ;; #!/usr/bin/env ruby -wKU
+ ;; #!/usr/bin/env ruby -wKU
(yas-item "A05CBDD6-845D-45EB-94FB-F8787F5456BE")
- ;; require ".."
+ ;; require ".."
(yas-item "97DE939B-D243-4D5C-B953-1C9090912E7C")
- ;; application { .. }
+ ;; application { .. }
(yas-item "E16D24D2-CC7E-4786-BE0B-1725FC865D78")
- ;; usage_if()
+ ;; usage_if()
(yas-item "21C0D711-F32A-4665-AA0D-B136F9DD3945")
- ;; usage_unless()
- (yas/item "49D69DEC-6991-49F4-8D9B-BA60BFDD3D17")))
- (yas/submenu "Iterators"
+ ;; usage_unless()
+ (yas-item "49D69DEC-6991-49F4-8D9B-BA60BFDD3D17")))
+ (yas-submenu "Iterators"
((yas-submenu "Arrays"
- (;; Array.new(10) { |i| .. }
- (yas/item "DAE6A754-D906-4763-B816-CE67125CEF08")
+ (;; Array.new(10) { |i| .. }
+ (yas-item "DAE6A754-D906-4763-B816-CE67125CEF08")
(yas-separator)
- ;; delete_if { |e| .. }
+ ;; delete_if { |e| .. }
(yas-item "263C94DC-63CF-4BA3-9692-C5582CA8F1AB")
- ;; fill(range) { |i| .. }
+ ;; fill(range) { |i| .. }
(yas-item "6021BBDC-4AAD-447B-A0C2-A4BB31721558")
- ;; flatten_once()
+ ;; flatten_once()
(yas-item "3DDB99C4-486D-4C11-A217-5680FDD8EC19")
- ;; zip(enums) { |row| .. }
- (yas/item "FD010022-E0E7-44DB-827F-33F7D9310DA2")))
+ ;; zip(enums) { |row| .. }
+ (yas-item "FD010022-E0E7-44DB-827F-33F7D9310DA2")))
(yas-submenu "Counting"
- (;; downto(0) { |n| .. }
+ (;; downto(0) { |n| .. }
(yas-item "4991BB86-736E-4758-B9B2-E4FA90B9368F")
- ;; step(2) { |e| .. }
+ ;; step(2) { |e| .. }
(yas-item "36853A11-0307-4AE7-B835-7CE6358717A5")
- ;; times { |n| .. }
+ ;; times { |n| .. }
(yas-item "206D54AF-E67A-4DF0-B7F4-3D42FEB81685")
- ;; upto(1.0/0.0) { |n| .. }
- (yas/item "51954118-81D7-42B6-9A10-BE23D8B9FFE2")
+ ;; upto(1.0/0.0) { |n| .. }
+ (yas-item "51954118-81D7-42B6-9A10-BE23D8B9FFE2")
(yas-separator)
- ;; loop { .. }
- (yas/item "567E3D18-BF2B-4379-8927-2777EC9F495E")))
+ ;; loop { .. }
+ (yas-item "567E3D18-BF2B-4379-8927-2777EC9F495E")))
(yas-submenu "Each Element"
- (;; each { |e| .. }
+ (;; each { |e| .. }
(yas-item "ECBA4CA0-275F-460E-85BE-E82FEA2E2B26")
- ;; each_byte { |byte| .. }
+ ;; each_byte { |byte| .. }
(yas-item "338EC03D-3FF4-4435-94E8-1CEF20CEC75D")
- ;; each_char { |chr| .. }
+ ;; each_char { |chr| .. }
(yas-item "7E084412-80E6-4B70-8092-C03D1ECE4CD2")
- ;; each_char { |chr| .. }
+ ;; each_char { |chr| .. }
(yas-item "FDD73070-6D32-4301-A86A-C55B77C3D8ED")
- ;; Ignoring each_cons(..) { |group| .. }
+ ;; Ignoring each_cons(..) { |group| .. }
(yas-ignore-item "EC73D5CC-5F05-46B9-A6F4-82037E4A38C9")
- ;; each_cons(..) { |group| .. }
+ ;; each_cons(..) { |group| .. }
(yas-item "3C04589C-5127-478E-97B3-CA7DD2EA7ECD")
- ;; each_index { |i| .. }
+ ;; each_index { |i| .. }
(yas-item "689120C9-AB40-4081-8268-9362E00FA4A0")
- ;; each_key { |key| .. }
+ ;; each_key { |key| .. }
(yas-item "E54F7077-3C33-4B53-A4F7-21E16132D3AD")
- ;; each_line { |line| .. }
+ ;; each_line { |line| .. }
(yas-item "02913388-EE8E-4C55-AC94-94F3D751F47E")
- ;; each_pair { |name, val| .. }
+ ;; each_pair { |name, val| .. }
(yas-item "7A3CECED-452B-438E-A5C6-95B6BDC43243")
- ;; Ignoring each_slice(..) { |group| .. }
+ ;; Ignoring each_slice(..) { |group| .. }
(yas-ignore-item "825B721D-4367-4DF7-98C0-F005695DF9E3")
- ;; each_slice(..) { |group| .. }
+ ;; each_slice(..) { |group| .. }
(yas-item "CD748479-D2A4-4AB5-95BD-4C89512BA210")
- ;; each_value { |val| .. }
+ ;; each_value { |val| .. }
(yas-item "844DBD70-BC23-4FBF-9C18-F4A610239DF2")
- ;; each_with_index { |e, i| .. }
+ ;; each_with_index { |e, i| .. }
(yas-item "1DD13CF5-39C0-4F10-B655-56DACEBC7F94")
- ;; reverse_each { |e| .. }
- (yas/item "F3C5F719-EF03-4FF7-A777-4A8402FE3B6B")
+ ;; reverse_each { |e| .. }
+ (yas-item "F3C5F719-EF03-4FF7-A777-4A8402FE3B6B")
(yas-separator)
- ;; inject(init) { |mem, var| .. }
- (yas/item "B563E0D7-513D-49B4-9733-1B04A6F25A74")
+ ;; inject(init) { |mem, var| .. }
+ (yas-item "B563E0D7-513D-49B4-9733-1B04A6F25A74")
(yas-separator)
- ;; map { |e| .. }
+ ;; map { |e| .. }
(yas-item "5A3754FC-43A3-462B-AB42-E3E951872E6F")
- ;; Ignoring map_with_index { |e, i| .. }
+ ;; Ignoring map_with_index { |e, i| .. }
(yas-ignore-item "BFB65D1C-62F1-485D-8A67-3E5A2E55107C")
- ;; map_with_index { |e, i| .. }
- (yas/item "BD4CFD7B-1AC0-4569-9BDA-FD491F41F4E6")))
+ ;; map_with_index { |e, i| .. }
+ (yas-item "BD4CFD7B-1AC0-4569-9BDA-FD491F41F4E6")))
(yas-submenu "Files"
- (;; Dir.glob("..") { |file| .. }
+ (;; Dir.glob("..") { |file| .. }
(yas-item "332AA973-AA71-48CB-AEE9-1D71E11019AC")
- ;; File.foreach ("..") { |line| .. }
+ ;; File.foreach ("..") { |line| .. }
(yas-item "8F594E5E-6F46-4E98-B5FB-1C8F3BA9828F")
- ;; open("path/or/url", "w") { |io| .. }
+ ;; open("path/or/url", "w") { |io| .. }
(yas-item "418F1817-255F-430A-B09A-222964ED66A7")
- ;; unix_filter { .. }
- (yas/item "8CEF9711-88D5-4202-AFB9-29EF4EFD25C1")
+ ;; unix_filter { .. }
+ (yas-item "8CEF9711-88D5-4202-AFB9-29EF4EFD25C1")
(yas-separator)
- ;; option_parse { .. }
+ ;; option_parse { .. }
(yas-item "C3C48948-4F49-484E-A8DE-DEB44723099E")
- ;; option(..)
- (yas/item "209D5D73-7A77-4931-A158-3FB6D5B48A88")))
+ ;; option(..)
+ (yas-item "209D5D73-7A77-4931-A158-3FB6D5B48A88")))
(yas-submenu "Ordering"
- (;; sort { |a, b| .. }
+ (;; sort { |a, b| .. }
(yas-item "9E0B4D4B-2956-4B3A-800A-3D8CE54E66BF")
- ;; sort_by { |e| .. }
- (yas/item "BA9440C9-36C3-4031-BB61-67B581D5B179")
+ ;; sort_by { |e| .. }
+ (yas-item "BA9440C9-36C3-4031-BB61-67B581D5B179")
(yas-separator)
- ;; randomize()
- (yas/item "B0CE57EC-FB2E-4482-8CCE-448DC2588715")))
+ ;; randomize()
+ (yas-item "B0CE57EC-FB2E-4482-8CCE-448DC2588715")))
(yas-submenu "Searching and Selection"
- (;; all? { |e| .. }
+ (;; all? { |e| .. }
(yas-item "07D1F987-7CDB-4EAD-B64A-27A93051700E")
- ;; any? { |e| .. }
+ ;; any? { |e| .. }
(yas-item "A3B9B76B-2BC5-425C-AB24-9FAAFC375798")
- ;; classify { |e| .. }
+ ;; classify { |e| .. }
(yas-item "5DA9E1E8-2C54-420A-9B84-B040A1AF2B9E")
- ;; collect { |e| .. }
+ ;; collect { |e| .. }
(yas-item "669A86AD-936F-4EDA-8E4E-6863804072DA")
- ;; detect { |e| .. }
+ ;; detect { |e| .. }
(yas-item "6C6B9849-9631-49FF-A9F9-F0E94A1512C5")
- ;; fetch(name) { |key| .. }
+ ;; fetch(name) { |key| .. }
(yas-item "1F72122A-35AD-4BA1-AA01-889A10319666")
- ;; find { |e| .. }
+ ;; find { |e| .. }
(yas-item "E23FE534-8061-4828-98A5-46270B6910B0")
- ;; find_all { |e| .. }
+ ;; find_all { |e| .. }
(yas-item "197709C5-8382-4A59-B6D7-31A0CC0F23B7")
- ;; grep(/pattern/) { |match| .. }
+ ;; grep(/pattern/) { |match| .. }
(yas-item "9D9E7BA3-8C5D-4532-83EA-326358C2F5BB")
- ;; max { |a, b| .. }
+ ;; max { |a, b| .. }
(yas-item "98182B9E-7C61-4824-BE4C-9CD69C816037")
- ;; min { |a, b| .. }
+ ;; min { |a, b| .. }
(yas-item "CB03D11A-7204-48D0-92C1-E109034403E7")
- ;; partition { |e| .. }
+ ;; partition { |e| .. }
(yas-item "52B8BF63-F09E-4789-8407-06168A8AE666")
- ;; reject { |e| .. }
+ ;; reject { |e| .. }
(yas-item "B79B9DAB-ABEF-44F6-BF7E-635E7BA11DFD")
- ;; select { |e| .. }
- (yas/item "4E409AA4-E7D4-46B7-A4E9-E32F992B33E9")))
+ ;; select { |e| .. }
+ (yas-item "4E409AA4-E7D4-46B7-A4E9-E32F992B33E9")))
(yas-submenu "Strings"
- (;; sub(/../) { |match| .. }
+ (;; sub(/../) { |match| .. }
(yas-item "8021944C-CEA4-4983-8D1C-78D18D4004A1")
- ;; gsub(/../) { |match| .. }
- (yas/item "2514FC26-468C-4D08-A788-494A444C4286")
+ ;; gsub(/../) { |match| .. }
+ (yas-item "2514FC26-468C-4D08-A788-494A444C4286")
(yas-separator)
- ;; scan(/../) { |match| .. }
- (yas/item "66802933-B49F-479B-9DF9-1D898FF1FA90")))))
+ ;; scan(/../) { |match| .. }
+ (yas-item "66802933-B49F-479B-9DF9-1D898FF1FA90")))))
(yas-submenu "Blocks"
- (;; Toggle ‘do … end’ / ‘{ … }’
- (yas/item "7990EE60-C850-4779-A8C0-7FD2C853B99B")
+ (;; Toggle ‘do … end’ / ‘{ … }’
+ (yas-item "7990EE60-C850-4779-A8C0-7FD2C853B99B")
(yas-separator)
- ;; Insert { |variable| … }
+ ;; Insert { |variable| … }
(yas-item "855FC4EF-7B1E-48EE-AD4E-5ECB8ED79D1C")
- ;; Insert do |variable| … end
- (yas/item "4B72C5C3-6CA7-41AC-B2F9-51DEA25D469E")
+ ;; Insert do |variable| … end
+ (yas-item "4B72C5C3-6CA7-41AC-B2F9-51DEA25D469E")
(yas-separator)
- ;; lambda { |args| .. }
- (yas/item "21E75321-0CF7-45E8-A297-BCC7C0DDDD15")))
+ ;; lambda { |args| .. }
+ (yas-item "21E75321-0CF7-45E8-A297-BCC7C0DDDD15")))
(yas-submenu "Hashes"
- (;; Hash.new { |hash, key| hash[key] = .. }
- (yas/item "E16EE658-1CA0-4950-954B-B962E50B754F")
+ (;; Hash.new { |hash, key| hash[key] = .. }
+ (yas-item "E16EE658-1CA0-4950-954B-B962E50B754F")
(yas-separator)
- ;; Hash Pair — :key => "value"
+ ;; Hash Pair — :key => "value"
(yas-item "840B9C4C-7037-4C3B-9028-EB9DC75EDB3E")
- ;; Hash Pointer — =>
- (yas/item "B9E3A6DF-875D-11D9-897C-000393CBCE2E")))
+ ;; Hash Pointer — =>
+ (yas-item "B9E3A6DF-875D-11D9-897C-000393CBCE2E")))
(yas-submenu "Tests"
- (;; class .. < Test::Unit::TestCase .. end
+ (;; class .. < Test::Unit::TestCase .. end
(yas-item "31D1F145-33AB-4441-BA11-4D1C46928C4C")
- ;; def test_ .. end
+ ;; def test_ .. end
(yas-item "00F66D41-25AF-4597-B67D-E540965A5222")
- ;; require "tc_.." ..
- (yas/item "5297FD0C-98B1-4514-BBD1-1516810BECA6")
+ ;; require "tc_.." ..
+ (yas-item "5297FD0C-98B1-4514-BBD1-1516810BECA6")
(yas-separator)
- ;; assert(..)
+ ;; assert(..)
(yas-item "B32C147D-44A6-478A-9D5D-189D7831E9A7")
- ;; assert_equal(..)
+ ;; assert_equal(..)
(yas-item "43A61A22-6BEE-4997-961C-1CDE739C05FE")
- ;; assert_not_equal(..)
+ ;; assert_not_equal(..)
(yas-item "A243E96F-DC21-4AA0-B340-13A7674F6AFF")
- ;; assert_in_delta(..)
+ ;; assert_in_delta(..)
(yas-item "429D0EF5-580D-4166-8F79-713DE96B77F1")
- ;; assert_instance_of(..)
+ ;; assert_instance_of(..)
(yas-item "0E831E03-67E1-4357-8323-C60685C23C4F")
- ;; assert_kind_of(..)
+ ;; assert_kind_of(..)
(yas-item "671F05E2-D9CC-485E-BB1B-B13EF20FAC65")
- ;; assert_nil(..)
+ ;; assert_nil(..)
(yas-item "4C79256C-480A-459C-BDE8-BB0D972811DB")
- ;; assert_not_nil(..)
+ ;; assert_not_nil(..)
(yas-item "79FEC3CC-2A40-4611-9A85-ECDB22FE0701")
- ;; assert_match(..)
+ ;; assert_match(..)
(yas-item "711ED6C3-0F18-41FB-9A7D-3094BB319A85")
- ;; assert_no_match(..)
+ ;; assert_no_match(..)
(yas-item "A072BB1E-1DD1-45D3-9346-8CA3BA21B364")
- ;; assert_operator(..)
+ ;; assert_operator(..)
(yas-item "1B925A4D-8EE4-442B-9254-293599F5717F")
- ;; assert_raise(..) { .. }
+ ;; assert_raise(..) { .. }
(yas-item "68B21F6F-5D89-41FA-A19C-F29C2F912B4E")
- ;; assert_nothing_raised(..) { .. }
+ ;; assert_nothing_raised(..) { .. }
(yas-item "82F8EEE0-2452-411E-8102-7BFDDBCA2E72")
- ;; assert_respond_to(..)
+ ;; assert_respond_to(..)
(yas-item "09A11FDA-49FC-4466-8787-8D1D5D111A89")
- ;; assert_same(..)
+ ;; assert_same(..)
(yas-item "29340695-E426-4F77-8CF7-C59360A549F4")
- ;; assert_not_same(..)
+ ;; assert_not_same(..)
(yas-item "F91C25EC-EC76-498B-BFB5-FDA8F57C5875")
- ;; assert_send(..)
+ ;; assert_send(..)
(yas-item "7850AD5C-A90D-4E2C-A931-EADFF8D3D9A3")
- ;; assert_throws(..) { .. }
+ ;; assert_throws(..) { .. }
(yas-item "05655BD8-23C6-445F-BFD1-420BF25C3030")
- ;; assert_nothing_thrown { .. }
+ ;; assert_nothing_thrown { .. }
(yas-item "33639D7A-BD8C-4396-9C44-307B8AC87C9E")
- ;; flunk(..)
- (yas/item "DB457094-1AC9-4856-AEFC-43A9576B6775")
+ ;; flunk(..)
+ (yas-item "DB457094-1AC9-4856-AEFC-43A9576B6775")
(yas-separator)
- ;; Ignoring Benchmark.bmbm do .. end
+ ;; Ignoring Benchmark.bmbm do .. end
(yas-ignore-item "C649F945-DAB8-4DA2-B73C-2EFF9D7D34F3")
- ;; Benchmark.bmbm do .. end
+ ;; Benchmark.bmbm do .. end
(yas-item "942F20E2-C40A-44B8-A3F2-99AAC68CB534")
- ;; results.report(..) { .. }
- (yas/item "1C60D589-DD46-4109-90CA-6B34AEA2F298")))
+ ;; results.report(..) { .. }
+ (yas-item "1C60D589-DD46-4109-90CA-6B34AEA2F298")))
(yas-submenu "Serialization"
- (;; Marshal.dump(.., file)
+ (;; Marshal.dump(.., file)
(yas-item "0CB48BCA-3F6E-4AE0-85BC-08A1D2508216")
- ;; Marshal.load(obj)
- (yas/item "20AAD0BC-075D-4EC0-9057-E3E5E62C4125")
+ ;; Marshal.load(obj)
+ (yas-item "20AAD0BC-075D-4EC0-9057-E3E5E62C4125")
(yas-separator)
- ;; Ignoring PStore.new( .. )
+ ;; Ignoring PStore.new( .. )
(yas-ignore-item "5AE7CFB4-418E-4E00-AD76-06DB755EE876")
- ;; PStore.new( .. )
+ ;; PStore.new( .. )
(yas-item "5B46ECFD-23A4-4F0C-9951-F64C19C72C2B")
- ;; transaction( .. ) { .. }
- (yas/item "46BF99AD-E172-4D49-BCF7-072F4730E1D9")
+ ;; transaction( .. ) { .. }
+ (yas-item "46BF99AD-E172-4D49-BCF7-072F4730E1D9")
(yas-separator)
- ;; Ignoring YAML.dump(.., file)
+ ;; Ignoring YAML.dump(.., file)
(yas-ignore-item "9460392B-C036-4A76-A5AE-1191F10E4B1B")
- ;; YAML.dump(.., file)
+ ;; YAML.dump(.., file)
(yas-item "3BA6762A-BB6B-489E-8006-F30F386AEF48")
- ;; Ignoring YAML.load(file)
+ ;; Ignoring YAML.load(file)
(yas-ignore-item "2C07D4E7-D74F-4AE4-82BE-B0BA82247AFA")
- ;; YAML.load(file)
- (yas/item "8343ACF4-EEB7-44B5-B835-94826466D4D5")
+ ;; YAML.load(file)
+ (yas-item "8343ACF4-EEB7-44B5-B835-94826466D4D5")
(yas-separator)
- ;; Ignoring xmlread(..)
+ ;; Ignoring xmlread(..)
(yas-ignore-item "F6BF907E-FDF7-4D9B-9E57-BE159561349D")
- ;; xmlread(..)
+ ;; xmlread(..)
(yas-item "B904D4AA-D15D-48A4-8EB2-563BAF489332")
- ;; xpath(..) { .. }
- (yas/item "CC300D44-6C3F-4F6C-A8AB-86F5A2DC57CF")))
+ ;; xpath(..) { .. }
+ (yas-item "CC300D44-6C3F-4F6C-A8AB-86F5A2DC57CF")))
(yas-submenu "Idioms"
- (;; class_from_name()
+ (;; class_from_name()
(yas-item "2DBEE50B-3097-4A57-AB48-3586CF392D8B")
- ;; deep_copy(..)
+ ;; deep_copy(..)
(yas-item "0BA2B2F1-E767-4A03-9791-0AC0183251F1")
- ;; path_from_here( .. )
+ ;; path_from_here( .. )
(yas-item "A4E89D97-D5ED-48BB-B5FF-1BFB79211FCD")
- ;; singleton_class()
+ ;; singleton_class()
(yas-item "B46D35B8-5DEB-4C10-A110-BA1965A2EB9C")
- ;; Ignoring word_wrap()
- (yas/ignore-item "97054C4D-E4A3-45B1-9C00-B82DBCB30CAD")))
+ ;; Ignoring word_wrap()
+ (yas-ignore-item "97054C4D-E4A3-45B1-9C00-B82DBCB30CAD")))
(yas-submenu "File"
- (;; require File.dirname(__FILE__) + "/.."
- (yas/item "7C42D878-FD0F-4181-A71A-57A091C0154A")
+ (;; require File.dirname(__FILE__) + "/.."
+ (yas-item "7C42D878-FD0F-4181-A71A-57A091C0154A")
(yas-separator)
- ;; File.dirname(__FILE__)
- (yas/item "16920DC1-6FA6-48C8-90C5-C19E2C734303")
+ ;; File.dirname(__FILE__)
+ (yas-item "16920DC1-6FA6-48C8-90C5-C19E2C734303")
(yas-separator)
- ;; File.read(filename)
+ ;; File.read(filename)
(yas-item "FAFE9F5C-BF9C-4416-8623-2CB8EBC31B3C")
- ;; File.open(filename, 'r') { |f| f.read }
+ ;; File.open(filename, 'r') { |f| f.read }
(yas-item "005EB926-4BFE-4BFA-93B2-C9030636289C")))
- ;; class .. < Test::Unit::TestCase with test_helper
+ ;; class .. < Test::Unit::TestCase with test_helper
(yas-item "228CAB3A-E221-4727-B430-31E94F76C9D3"))
'("E5158F94-CC52-4424-A495-14EF9272653F"
"EEE6D060-C5A0-400D-A2E0-0835013C5365"
@@ -812,10 +812,9 @@
"835FAAC6-5431-436C-998B-241F7226B99B"
"A83F68A9-F751-4BB4-AE16-56812878C16A"
"47D203ED-EB9B-4653-A07B-A897800CEB76"
+ "47D203ED-EB9B-4653-A07B-A897800CEB76"
"931DD73E-615E-476E-9B0D-8341023AE730"
"2DDB6FE0-6111-4C40-A149-8E67E76F8272"
- "DAA69A0C-FC1E-4509-9931-DFFB38B4D6AE"
- "931DD73E-615E-476E-9B0D-8341023AE730"
"DAA69A0C-FC1E-4509-9931-DFFB38B4D6AE"
"BF4CA9F1-51CD-48D4-8357-852234F59046"
"8646378E-91F5-4771-AC7C-43FC49A93576"
@@ -824,6 +823,7 @@
"35222962-C50D-4D58-A6AE-71E7AD980BE4"
"835FAAC6-5431-436C-998B-241F7226B99B"
"B297E4B8-A8FF-49CE-B9C4-6D4911724D43"
+ "E0E058FC-0DC3-4872-A1C2-0B1A322A0CF5"
"B3875596-723C-41EE-9E6F-F84930C3B568"
"76FCF165-54CB-4213-BC55-BD60B9C6A3EC"
"EE5F19BA-6C02-11D9-92BA-0011242E4184"
@@ -834,14 +834,14 @@
"5289EE40-86B8-11D9-A8D4-000A95E13C98"
"1AD6A138-2E89-4D6A-AB3F-416BF9CE968D"
"6519CB08-8326-4B77-A251-54722FFBFC1F"
+ "97054C4D-E4A3-45B1-9C00-B82DBCB30CAD"
+ "E5158F94-CC52-4424-A495-14EF9272653F"
+ "9460392B-C036-4A76-A5AE-1191F10E4B1B"
"2C07D4E7-D74F-4AE4-82BE-B0BA82247AFA"
"121B334B-2AA6-4E9A-A8B8-BF93B627982B"
"EC73D5CC-5F05-46B9-A6F4-82037E4A38C9"
"825B721D-4367-4DF7-98C0-F005695DF9E3"
"58FDEA60-10AF-4C49-AA09-29B77030DB25"
- "BFB65D1C-62F1-485D-8A67-3E5A2E55107C"
- "E5158F94-CC52-4424-A495-14EF9272653F"
- "9460392B-C036-4A76-A5AE-1191F10E4B1B"
"BFB65D1C-62F1-485D-8A67-3E5A2E55107C"
"C649F945-DAB8-4DA2-B73C-2EFF9D7D34F3"
"A83F68A9-F751-4BB4-AE16-56812878C16A"
@@ -851,181 +851,181 @@
;; Unknown substitutions
;;
;; Substitutions for: content
-;;
-;; # as in Snippets/flunk(..) (fl).yasnippet
+;;
+;; # as in Snippets/open yield block ({).yasnippet
+;; `yas-selected-text` =yyas> (yas-unknown)
+;;
+;; # as in Snippets/RDoc documentation block.yasnippet
;; `(concat (if (eq 0 current-line) "\n" "") "\n")` =yyas> (yas-unknown)
;;
-;; # as in Snippets/flunk(..) (fl).yasnippet
+;; # as in Snippets/flunk(..) (fl).yasnippet
;; `yas-ruby-snippet-open-paren` =yyas> (yas-unknown)
-;;
-;; # as in Snippets/class __ TestUnitTestCase with test_helper.tmSnippet.yasnippet
+;;
+;; # as in Snippets/flunk(..) (fl).yasnippet
;; `yas-ruby-snippet-close-paren` =yyas> (yas-unknown)
-;;
-;; # as in Snippets/Wrap in Begin Rescue End.yasnippet
+;;
+;; # as in Snippets/class __ TestUnitTestCase with test_helper.yasnippet
;; (yas-multi-line-unknown 228CAB3A-E221-4727-B430-31E94F76C9D3) =yyas> (yas-unknown)
-;;
-;; # as in Snippets/RDoc documentation block.yasnippet
+;;
+;; # as in Commands/Completion Ruby (rcodetools).yasnippet
;; 47D203ED-EB9B-4653-A07B-A897800CEB76 =yyas> (yas-unknown)
-;;
-;; # as in Commands/Completion Ruby (rcodetools).tmCommand.yasnippet
+;;
+;; # as in Commands/Enclose in (RDoc comments).yasnippet
;; 931DD73E-615E-476E-9B0D-8341023AE730 =yyas> (yas-unknown)
;;
-;; # as in Commands/Enclose in + (RDoc comments).yasnippet
+;; # as in Commands/Enclose in + (RDoc comments).yasnippet
;; 2DDB6FE0-6111-4C40-A149-8E67E76F8272 =yyas> (yas-unknown)
;;
-;; # as in Commands/Enclose in _ (RDoc comments).yasnippet
-;; DAA69A0C-FC1E-4509-9931-DFFB38B4D6AE =yyas> (yas/unknown)
-;;
-;; # as in Commands/Enclose in (RDoc comments).yasnippet
-;; 931DD73E-615E-476E-9B0D-8341023AE730 =yyas> (yas/unknown)
-;;
-;; # as in Commands/gsub - remove whitespace from front of line.yasnippet
+;; # as in Commands/Enclose in _ (RDoc comments).yasnippet
;; DAA69A0C-FC1E-4509-9931-DFFB38B4D6AE =yyas> (yas-unknown)
;;
-;; # as in Commands/Omit from RDoc.yasnippet
+;; # as in Commands/Omit from RDoc.yasnippet
;; BF4CA9F1-51CD-48D4-8357-852234F59046 =yyas> (yas-unknown)
;;
-;; # as in Commands/Open Require.yasnippet
+;; # as in Commands/Open Require.yasnippet
;; 8646378E-91F5-4771-AC7C-43FC49A93576 =yyas> (yas-unknown)
-;;
-;; # as in Commands/RakeSake task using file path.tmCommand.yasnippet
+;;
+;; # as in Commands/RakeSake task using file path.yasnippet
;; E07FF68B-C87D-4332-8477-D026929FDADA =yyas> (yas-unknown)
;;
-;; # as in Commands/Run Rake Task.yasnippet
+;; # as in Commands/Run Rake Task.yasnippet
;; 569C9822-8C41-4907-94C7-1A8A0031B66D =yyas> (yas-unknown)
;;
-;; # as in Commands/Run.yasnippet
+;; # as in Commands/Run.yasnippet
;; 35222962-C50D-4D58-A6AE-71E7AD980BE4 =yyas> (yas-unknown)
;;
-;; # as in Commands/Toggle ERb Tags.yasnippet
+;; # as in Commands/Toggle ERb Tags.yasnippet
;; 835FAAC6-5431-436C-998B-241F7226B99B =yyas> (yas-unknown)
-;;
-;; # as in Commands/Toggle StringSymbol.tmCommand.yasnippet
+;;
+;; # as in Commands/Toggle StringSymbol.yasnippet
;; B297E4B8-A8FF-49CE-B9C4-6D4911724D43 =yyas> (yas-unknown)
;;
-;; # as in Commands/Validate and Save.yasnippet
+;; # as in Commands/Validate and Save.yasnippet
+;; E0E058FC-0DC3-4872-A1C2-0B1A322A0CF5 =yyas> (yas-unknown)
+;;
+;; # as in Commands/gsub - remove whitespace from front of line.yasnippet
;; B3875596-723C-41EE-9E6F-F84930C3B568 =yyas> (yas-unknown)
;;
-;; # as in Commands/Check ERB Syntax.yasnippet
+;; # as in Commands/Check ERB Syntax.yasnippet
;; 76FCF165-54CB-4213-BC55-BD60B9C6A3EC =yyas> (yas-unknown)
;;
-;; # as in Commands/Check Ruby Syntax.yasnippet
+;; # as in Commands/Check Ruby Syntax.yasnippet
;; EE5F19BA-6C02-11D9-92BA-0011242E4184 =yyas> (yas-unknown)
;;
-;; # as in Commands/Execute Line with Ruby.yasnippet
+;; # as in Commands/Execute Line with Ruby.yasnippet
;; EE5F1FB2-6C02-11D9-92BA-0011242E4184 =yyas> (yas-unknown)
;;
-;; # as in Commands/Insert Missing Requires.yasnippet
+;; # as in Commands/Insert Missing Requires.yasnippet
;; 9FB64639-F776-499B-BA6F-BB45F86F80FD =yyas> (yas-unknown)
;;
-;; # as in Commands/Make Destructive Call.yasnippet
+;; # as in Commands/Make Destructive Call.yasnippet
;; 7F79BC8D-8A4F-4570-973B-05DFEC25747F =yyas> (yas-unknown)
;;
-;; # as in Commands/New Method.yasnippet
+;; # as in Commands/New Method.yasnippet
;; 0275EF39-9357-408F-AF20-79E415CA9504 =yyas> (yas-unknown)
;;
-;; # as in Commands/Run focused unit test.yasnippet
+;; # as in Commands/Run focused unit test.yasnippet
;; 5289EE40-86B8-11D9-A8D4-000A95E13C98 =yyas> (yas-unknown)
;;
-;; # as in Commands/Show RDoc for this file.yasnippet
+;; # as in Commands/Show RDoc for this file.yasnippet
;; 1AD6A138-2E89-4D6A-AB3F-416BF9CE968D =yyas> (yas-unknown)
;;
-;; # as in Commands/Toggle Quote Style.yasnippet
+;; # as in Commands/Toggle Quote Style.yasnippet
;; 6519CB08-8326-4B77-A251-54722FFBFC1F =yyas> (yas-unknown)
;;
-;; # as in Commands/word_wrap() (worw).yasnippet
+;; # as in Commands/word_wrap() (worw).yasnippet
+;; 97054C4D-E4A3-45B1-9C00-B82DBCB30CAD =yyas> (yas-unknown)
+;;
+;; # as in Macros/Overwrite } in #{ .. }.yasnippet
+;; E5158F94-CC52-4424-A495-14EF9272653F =yyas> (yas-unknown)
+;;
+;; # as in Macros/YAML.dump(.., file) (Yd).yasnippet
+;; 9460392B-C036-4A76-A5AE-1191F10E4B1B =yyas> (yas-unknown)
+;;
+;; # as in Macros/YAML.load(file) (Yl).yasnippet
;; 2C07D4E7-D74F-4AE4-82BE-B0BA82247AFA =yyas> (yas-unknown)
;;
-;; # as in Macros/class .. DelegateClass .. initialize .. end (class).yasnippet
+;; # as in Macros/class .. DelegateClass .. initialize .. end (class).yasnippet
;; 121B334B-2AA6-4E9A-A8B8-BF93B627982B =yyas> (yas-unknown)
;;
-;; # as in Macros/each_cons(..) { group .. } (eac).yasnippet
+;; # as in Macros/each_cons(..) { group .. } (eac).yasnippet
;; EC73D5CC-5F05-46B9-A6F4-82037E4A38C9 =yyas> (yas-unknown)
;;
-;; # as in Macros/each_slice(..) { group .. } (eas).yasnippet
+;; # as in Macros/each_slice(..) { group .. } (eas).yasnippet
;; 825B721D-4367-4DF7-98C0-F005695DF9E3 =yyas> (yas-unknown)
;;
-;; # as in Macros/extend Forwardable (Forw).yasnippet
+;; # as in Macros/extend Forwardable (Forw).yasnippet
;; 58FDEA60-10AF-4C49-AA09-29B77030DB25 =yyas> (yas-unknown)
;;
-;; # as in Macros/map_with_index { e, i .. } (mapwi).yasnippet
-;; BFB65D1C-62F1-485D-8A67-3E5A2E55107C =yyas> (yas/unknown)
-;;
-;; # as in Macros/Overwrite } in #{ .. }.yasnippet
-;; E5158F94-CC52-4424-A495-14EF9272653F =yyas> (yas/unknown)
-;;
-;; # as in Macros/YAML.dump(.., file) (Yd).yasnippet
+;; # as in Macros/map_with_index { e, i .. } (mapwi).yasnippet
;; BFB65D1C-62F1-485D-8A67-3E5A2E55107C =yyas> (yas-unknown)
-;;
-;; # as in Macros/YAML.load(file) (Yl).yasnippet
+;;
+;; # as in Snippets/class .. TestUnitTestCase .. end (tc).yasnippet
;; (yas-multi-line-unknown 31D1F145-33AB-4441-BA11-4D1C46928C4C) =yyas> (yas-unknown)
;;
-;; # as in Snippets/module .. end.yasnippet
-;; `(yas/ruby-infer-class-name)` =yyas> (yas/unknown)
-;;
-;; # as in Snippets/class .. TestUnitTestCase .. end (tc).yasnippet
+;; # as in Snippets/module .. end.yasnippet
;; `(yas-ruby-infer-class-name)` =yyas> (yas-unknown)
;;
-;; # as in Macros/Benchmark_bmbm(__) do __ end.yasnippet
+;; # as in Macros/Benchmark_bmbm(__) do __ end.yasnippet
;; C649F945-DAB8-4DA2-B73C-2EFF9D7D34F3 =yyas> (yas-unknown)
-;;
-;; # as in Macros/Delete forwardbackward.tmMacro.yasnippet
+;;
+;; # as in Macros/Delete forwardbackward.yasnippet
;; A83F68A9-F751-4BB4-AE16-56812878C16A =yyas> (yas-unknown)
;;
-;; # as in Macros/PStore_new( __ ).yasnippet
+;; # as in Macros/PStore_new( __ ).yasnippet
;; 5AE7CFB4-418E-4E00-AD76-06DB755EE876 =yyas> (yas-unknown)
;;
-;; # as in Macros/xmlread(__).yasnippet
+;; # as in Macros/xmlread(__).yasnippet
;; F6BF907E-FDF7-4D9B-9E57-BE159561349D =yyas> (yas-unknown)
;;
;;
;; Substitutions for: condition
;;
-;; # as in Macros/xmlread(__).yasnippet
+;; # as in Macros/xmlread(__).yasnippet
;; =yyas> (yas-unknown)
;;
-;; # as in Snippets/Insert ERb's __ or = __.yasnippet
+;; # as in Snippets/Insert ERb's __ or = __.yasnippet
;; text.html, source.yaml =yyas> (yas-unknown)
;;
;;
;; Substitutions for: binding
-;;
-;; # as in Commands/Completion Ruby (rcodetools).tmCommand.yasnippet
+;;
+;; # as in Commands/Completion Ruby (rcodetools).yasnippet
;; ~ =yyas> (yas-unknown)