There was already a content_for snippet on the eruby snippet file.
Tags for Rails views should go there and not on the Ruby snippet file.
This commit is contained in:
parent
9ff441a72e
commit
faf3b63aeb
@ -34,9 +34,9 @@ snippet licai
|
|||||||
snippet yield
|
snippet yield
|
||||||
<%= yield${1::content_symbol}%>${2}
|
<%= yield${1::content_symbol}%>${2}
|
||||||
snippet conf
|
snippet conf
|
||||||
<% content_for ${1::foo} do %>
|
<% content_for :${1:head} do %>
|
||||||
${2}
|
${2}
|
||||||
<% end -%>
|
<% end %>
|
||||||
# Ruby ******************************
|
# Ruby ******************************
|
||||||
snippet :
|
snippet :
|
||||||
:${1:key} => ${2:"value"}${3}
|
:${1:key} => ${2:"value"}${3}
|
||||||
|
@ -554,8 +554,3 @@ snippet aft
|
|||||||
#debugging
|
#debugging
|
||||||
snippet debug
|
snippet debug
|
||||||
require 'ruby-debug'; debugger;
|
require 'ruby-debug'; debugger;
|
||||||
#views
|
|
||||||
snippet cfor
|
|
||||||
<% content_for :${1:head} do %>
|
|
||||||
${2}
|
|
||||||
<% end %>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user