mirror of
https://github.com/rafamadriz/friendly-snippets
synced 2024-09-16 22:14:02 +02:00
Fix erb each
snippet
Fix `each` snippet so that the block content is not auto filled with the `item`, following the regular ruby snippets
This commit is contained in:
parent
29f86fe19b
commit
2b93d03982
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"each": {
|
||||
"prefix": "each",
|
||||
"body": ["<% ${1:items}.each do |${2:item}| %>", " $2", "<% end %>"],
|
||||
"body": ["<% ${1:items}.each do |${2:item}| %>", " $3", "<% end %>"],
|
||||
"description": "each do"
|
||||
},
|
||||
"render": {
|
||||
|
|
Loading…
Reference in a new issue