X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/55698854abe296deb5b698e9d2d1c2a92549aa77..664ccc032cf1a97062e20128182df59d1e3526d4:/ftplugin/mkd.vim?ds=sidebyside diff --git a/ftplugin/mkd.vim b/ftplugin/mkd.vim index 2129203..e177bd1 100644 --- a/ftplugin/mkd.vim +++ b/ftplugin/mkd.vim @@ -319,7 +319,7 @@ function! s:Markdown_Toc(...) copen endif set modifiable - %s/\v^([^|]*\|){2,2} #// + %s/\v^([^|]*\|){2,2} #//e for i in range(1, line('$')) " this is the quickfix data for the current item let d = getqflist()[i-1]