1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated plugins

This commit is contained in:
Amir
2020-12-04 22:15:32 +01:00
parent e83f5ea2e7
commit a06964dd3b
261 changed files with 6955 additions and 2773 deletions

View File

@ -46,8 +46,9 @@ snippet conf
<% content_for :${1:head} do %>
${0}
<% end %>
snippet cs
<%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %>
snippet cs
<%= collection_select(:${1:object}, :${2:method}, ${3:collection}, :${4:value_method}, :${5:text_method}, options = {${0:prompt: true}}) %>
snippet ct
<%= content_tag '${1:DIV}', ${2:content}${0:,options} %>
snippet ff
@ -80,6 +81,8 @@ snippet ffta
<%= ${1:f}.text_area :${0:attribute} %>
snippet fftf
<%= ${1:f}.text_field :${0:attribute} %>
snippet fcs
<%= ${1:f}.collection_select(:${2:method}, ${3:collection}, :${4:value_method}, :${5:text_method}, options = {${0:prompt: true}}) %>
snippet fields
<%= fields_for :${1:model}, @$1 do |${2:f}| %>
${0}