I'm using the plugin auto-pairs to help auto close brackets.
In vim when defining dicts or lists it'll auto formatting like this
|
is the cursor position
a_dict = {
| # the indent is 8 spaces width, but I already set 4 spaces width indent in .vimrc
}
a_lst = [
|
]
a_lst_with_a_very_loooooooooooong_name = [
|
]
but I want it formats the code like this
lst = [
|
]
How can I do this?