Browse Source

More rails-centric changes...

- eruby: add 'if notice' loop as an update to the older
    'if flash[:notice]' construct
  - html: alias 'p' tag to tagAttr
master
jimi 14 years ago
parent
commit
b6794ab2d8
  1. 5
      ftplugin/eruby/eruby.xpt.vim
  2. 2
      ftplugin/html/html.xpt.vim

5
ftplugin/eruby/eruby.xpt.vim

@ -42,6 +42,11 @@ XPT ifl " <% if flash[...
<div id="`notice^"><%= flash[:`notice^] %></div>
`:end:^
XPT ifn " <% if notice...
<% if `notice^ -%>
<p id="`notice^"><%= `notice^ %></p>
<% end -%>
XPT flash.each synonym=flea " <% flash.each do |args...
XSET cursor=Echo('')
<% flash.each do |key, value| -%>

2
ftplugin/html/html.xpt.vim

@ -108,6 +108,8 @@ XPT span alias=tagAttr
XPT div alias=tagAttr
XPT p alias=tagAttr
XPT tr abbr alias=tagAttr
XPT td abbr alias=tagAttr