On 2014-01-12, Bohr Shaw wrote:
> Sometimes I define an "augroup" at a file beginning and END it at
> the file end. Thus, with the default 'indentexpr' settings, I
> would indent almost the whole files one more level, which is not
> expected.
> 
> And because that arbitrary commands can come after an "augroup"
> definition and there not necessarily have to be a corresponding
> ":augroup END". So I doubt if indenting after an "augroup"
> definition is a sensible default. How do you think about this?
> (Hope my English is understandable.)

I doubt that most people would want this.

You can change this for yourself by copying
$VIMRUNTIME/indent/vim.vim to ~/.vim/indent/vim.vim, deleting lines
61 and 62, and at 89, deleting the pattern

    \|aug\%[roup]\s*!\=\s\+END

Regards,
Gary

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui