>> 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. Well, indentexpr is not used - the result is as if indentexpr is simply not set, ie. what autoindent gives.
> 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. Hmmm, either it's the different vim version, or some other setting in the buffer ... I'll look again. Thank you for your answer! Regards, Phil -- 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
