When indenting a function body with >i{, the result of the command
depends on whether the initial { is followed by white space or not
(Vim 7.3 build 162, started as gvim -u NONE):

{
a = b;
}

and >i{ results in

{
   a = b;
}

which is correct. However

{<spc>
a = b;
}

is indented as

   {<spc>
   a = b;
}

Axel

-- 
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