Monday, June 4, 2012

Autoindenting, Match paren on the same column as variable name

Hi Vim Users,

I have a quick question about how to make auto indent put the last paren on the same column as the variable that defines it. This is might be for python only. But I think its pretty general.

Example:

# Currently VIM does this. I want to auto indent to the next example.
NAMES = (
'colin',
'bradley',
'chad',
)

NAMES = (
'colin',
'bradley',
'chad',
)

My vimrc: https://github.com/cwood/dotfiles/blob/master/vimrc

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

No comments: