Closed scrooloose closed 8 years ago
Previously, the TOC was always indented with hard tabs. Now we check &expandtab and use spaces if needed.
Note: GetIndentText() seems like a pretty crap function name, but I couldn't think of anything better. Sorry :-D
GetIndentText()
Yeah, it's much better to respect &expandtab. I used to think Vim will do this automatic, but it doesn't.
GetIndentText() not a bad name, at least its meaning is clear. Haha~
Thanks a lot. @scrooloose 👍
Previously, the TOC was always indented with hard tabs. Now we check &expandtab and use spaces if needed.
Note:
GetIndentText()
seems like a pretty crap function name, but I couldn't think of anything better. Sorry :-D