Wednesday, October 26, 2011

Bug in the POSIX Shell Syntax Highlight Rules

Hi,

I found a corner case:

if [ $? -eq 0 ]; then
makepkg -fi
fi

In this example, vim consider the first 'fi' (line 2) as the closing of
the 'if'.

I have

let g:is_posix=1

in my .vimrc.

http://cl.ly/BHq4/2011-10-26-115445_ss.png

Greetings,
--
Bastien

--
You received this message from the "vim_use" 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

No comments: