On 2012-01-30, AK wrote:
> I'm using indent/python.vim and this behaviour is in GetPythonIndent().
> I'll just have to hack it.. If I set cindent or cinoptions, is there
> a way to set it up to override indentexpr and work as I described?
No, unless you let 'cindent' handle all your indenting, and while I
haven't tried using a C indenting algorithm on Python code, I doubt
that it would go well.
Hacking shouldn't be too difficult--python.vim actually has
comments.
> >By the way, () are parentheses, not braces. Braces are {} and
> >brackets are [].
>
>
> {} and [] () are also called curly, square, and round brackets, so I
> thought brackets and braces are interchangeable.. guess not!
I've seen other names for {} and [], but I don't think I've ever
seen () referred to as round brackets or round braces, only
parentheses. Could be a U.S. thing.
Regards,
Gary
--
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