Indentation following a list comprehension
stawaway opened this issue · 2 comments
stawaway commented
I get automatic indentation whenever I write a list comprehension:
a = [i for i=1:10]
# indent at the start of new line
carlobaldassi commented
I can't reproduce this, for me it works fine.
Can you give more specifics about your setup? Maybe test with a minimal vimrc?
stawaway commented
The error was coming from the following in the vimrc file:
filetype indent on