Hi,

Could we have this fix in vim73?

I did email original author of indent/vb.vim -- Johannes Zellner
<johannes at zellner.org> but had no reply.

Maxim.

---------- Forwarded message ----------
From: Maxim Kim <[email protected]>
Date: 20 авг 2009, 10:58
Subject: VisualBasic 'elseif' indent error
To: vim_dev


Hi,

I have just found thatvbindentation has error:

if isBlablabla() then
    blablabla
    elseif isTada() then
        Tada
    end if

It should be:

if isBlablabla() then
    blablabla
elseif isTada() then
    Tada
end if

The fix is fairly easy. In theindent/vb.vim change line 66 from
    elseif this_line =~? '^\s*\<\(end\|else\|until\|loop\|next\|wend\)
\>'
to
    elseif this_line =~? '^\s*\<\(end\|else\|elseif\|until\|loop\|next
\|wend\)\>'

I am not sure of the way fixes of that kind are included into vim
runtime.

Maxim.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui