Bug#437462: vim: patch 7.1.038 about preseveindent breaks python indentation

Adeodato Simó dato at net.com.org.es
Sun Aug 12 16:58:49 UTC 2007


Package: vim
Version: 1:7.1-056+2
Severity: normal
Tags: upstream

Hello.

Consider the following python file:

--
def function():
    other_function(arg1, arg2, arg3,
--

With 7.1-022, both with preseveindent on and off, if you go to arg3 and
press "o", a new line is created and the indent is adjusted so that the
cursor is right after the first 'n' of 'function' (12 spaces of indent).

With 7.1-056, it works the same with preseveindent off, but with the
option set it does not work: 12 spaces are inserted, but the cursor is
placed under the first 't' of 'other', leaving 7 spaces after it.

This seems like a bug to me.

Thanks,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                       Listening to: Alejandro Sanz - Cuando nadie me ve





More information about the pkg-vim-maintainers mailing list