mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-11 08:00:53 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: rpl
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: render (partial, locals)
|
||||
## condition: "source.ruby.rails"
|
||||
# --
|
||||
render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}$0 }
|
||||
Reference in New Issue
Block a user