X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/2d54234befa961ca8ee85de0aadc2f9c3ec04d31..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]