mzlogin / vim-markdown-toc

A vim 7.4+ plugin to generate table of contents for Markdown files.
http://www.vim.org/scripts/script.php?script_id=5460
MIT License
613 stars 59 forks source link

Option to use tabs rather than spaces? #59

Closed andrewferrier closed 5 years ago

andrewferrier commented 5 years ago

It seems that vim-markdown-toc always uses hard tabs to indent subsections within a table of contents, even if expandtab is turned on in vim (and thus the user prefers spaces). It would more be elegant and fit in better with the users' other preferences if it honored that option.

Thanks for your fine work on this plugin!

andrewferrier commented 5 years ago

My apologies, this was wrong. It does honor expandtab, another plugin I has was misbehaving. Sorry!

mzlogin commented 5 years ago

It doesn't matter.