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 Salihefendic
2019-08-22 17:36:17 +02:00
parent 6711ae6453
commit 3aefdbd21a
244 changed files with 9486 additions and 3395 deletions

View File

@ -1,9 +1,11 @@
extends html
snippet %
snippet % <% %>
<% ${0} %>
snippet =
snippet = <%= %>
<%= ${0} %>
snippet # <%# %>
<%# ${0} %>
snippet end
<% end %>
snippet for
@ -20,13 +22,35 @@ snippet ife
<% else %>
${0}
<% end %>
snippet ft
snippet cond
<%= cond do %>
<% ${1} -> %>
${2:${VISUAL}}
<% true -> %>
${0}
<% end %>
snippet unless
<%= unless ${1} do %>
${0:${VISUAL}}
<% end %>
snippet ft form_tag
<%= form_tag(${1:"/users"}, method: ${2::post}) %>
${0}
</form>
snippet lin
snippet et error_tag
<%= error_tag ${1:f}, :${2:field} %>
snippet ti text_input
<%= text_input ${1:f}, :${2:field} %>
snippet la label
<%= label ${1:f}, :${2:field}, "${3:Label}" %>
snippet pi password_input
<%= password_input ${1:f}, :${2:password} %>
snippet render
<%= render "${1:index}.html", ${2:var: @var} %>
snippet lin link
<%= link "${1:Submit}", to: ${2:"/users"}, method: ${3::delete} %>
snippet ff
snippet ff form_for
<%= form_for @changeset, ${1:"/users"}, fn f -> %>
${0}