mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-18 03:14:16 +00:00
Last commit before tagging and releasing
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: Hash
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Hash.new { |hash, key| hash[key] = .. }
|
||||
# --
|
||||
Hash.new { |${1:hash}, ${2:key}| ${1:hash}[${2:key}] = $0 }
|
||||
6
extras/imported/ruby-mode/Hashes/hash pair (:).yasnippet
Normal file
6
extras/imported/ruby-mode/Hashes/hash pair (:).yasnippet
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: :
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Hash Pair — :key => "value"
|
||||
# --
|
||||
:${1:key} => ${2:"${3:value}"}${4:, }
|
||||
6
extras/imported/ruby-mode/Hashes/hash pointer.yasnippet
Normal file
6
extras/imported/ruby-mode/Hashes/hash pointer.yasnippet
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Hash Pointer — =>
|
||||
# binding: "^l"
|
||||
# --
|
||||
=>
|
||||
Reference in New Issue
Block a user