Not folding Properly
rosaliel opened this issue · 2 comments
rosaliel commented
tmhedberg commented
Is there any chance you could share a copy of the file exhibiting this behavior? Also, what is the output of the following command?
:set tabstop? softtabstop? shiftwidth?
rosaliel commented
I looked at it again, and noticed that it folds correctly 8 spaces indentations (therefore it folded correctly methods defined inside classes) but not 4 spaces indentation.
I fixed it with set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
Thanks!