mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 18:04:18 +00:00
* Finished commiting Rob Christie's patches to the ruby snippets (add
setup.el, delete the # => snippet) * Tweaked some ruby snippets * Disabled bindings for some TextMate text-mode snippets
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Embedded Code — #{…}
|
||||
## binding: "C-#"
|
||||
## condition: "(string.quoted.double.ruby|string.interpolated.ruby) - string source"
|
||||
# binding: "#"
|
||||
# condition: (yas/ruby-in-interpolated-string-p)
|
||||
# expand-env: ((yas/wrap-around-region t))
|
||||
# --
|
||||
{${1:`yas/selected-text`}}
|
||||
#{$0}
|
||||
Reference in New Issue
Block a user