On Mon, Oct 13, 2008 at 05:11:44PM +0200, Tony Mechelynck wrote:
[...]
Whell, what does ":verbose set cino" say in a python file? Maybe the equivalent of $VIMRUNTIME/ftplugin/python.vim ? In that case, you can override it by placing the line

        setlocal cino=(0

(possibly together with other option parts) in the file $HOME/vimfiles/after/ftplugin/python.vim (on Windows) or $HOME/.vim/after/ftplugin/python.vim (on Unix).


Best regards,
Tony.

Another possibility:
On my system python.vim sets indentexpr which, according to
:he C-indenting, overrides cindent.

In that case also adding the following to after/ftplugin/python.vim
        setlocal indentexpr=
should help.

--
Don't drink when you drive -- you might hit a bump and spill it.

Attachment: pgpylmjYG8ksM.pgp
Description: PGP signature

Reply via email to