vim-markdown
vim-markdown copied to clipboard
Auto :Toc + no headers = mixed up syntax highlighting
Recording explains it better than I can (sorry for the speed, the gif plays a little too fast):
I set up auto-invoking of :Toc
as described in #166, but when I open a file that has no headers, a "No headers" warning appears, followed by the file opening without syntax highlighting. More specifically, it has the coloring of the Toc quickfix window instead of markdown syntax.
I'm now back to running :Toc
manually to get around this problem, but thought I'd report it anyhow in case it's something others have run into.
Thanks for this awesome plugin! It's made writing markdown much more pleasant.
I updated a solution in #166