In my vimrc I have filetype indent plugin on
When I write python code, the indentation mostly looks good, but in lists it is too big:
def fun():
return 'indent looks good'
my_list = [
'indent too big'
]
Why is the indent size different in lists from the rest of code? How can I get the same size in lists?
I've tried set sts=4 sw=4
but the indentation in lists is still too big.