On 2017-09-25, Christian Brabandt wrote:
> what are your indenting settings? How to reproduce starting with vim -u NONE
> -N?

I've noticed this problem, too, since recently updating from 8.0.691
to 8.0.1127.  Here is a demonstration.

    $ vim -N -u NONE -i NONE -c 'so $VIMRUNTIME/indent/sh.vim'

Enter the following text, letting Vim do all the indenting.

if [ $this ]; then
        that
        fi

Note that "fi" is not unindented.  As another example, enter this
text.

if [ $this ]
        then
                that
                fi

Note here that not only is "fi" not unindented, but that "then" is
indented, which it should not be.

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/d/optout.

Raspunde prin e-mail lui