On 2011-05-14, Philipp Marek wrote:
> Hello everybody,
>
> in the documentation I found that the "=" operator should use indentexpr, if
> set. Well,
> it doesn't, regrettably.
>
> Just try by
> :set indentexpr=5
> New lines are correctly indented, but "=" does the wrong thing.
Could you elaborate on that just a wee bit. "Does the wrong thing"
is not much to go on.
I just opened a new Vim instance, typed some text, executed
:set indentexpr=5
and executed "==" on one of the lines. That line was indented by 5
spaces. I also visually selected a few lines, typed "=" and they
were indented by 5 spaces. That was using Vim 7.3.3 (old, but what
I had handy). So I'm not seeing a problem.
Regards,
Gary
--
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