X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c6a731c5fa00ad7a776b99d28d31617e7a7c3210..de94e028f20cf95a669a65b0d38547918e15fbe0:/ftplugin/mkd.vim?ds=inline diff --git a/ftplugin/mkd.vim b/ftplugin/mkd.vim index d4113ad..42dca90 100644 --- a/ftplugin/mkd.vim +++ b/ftplugin/mkd.vim @@ -319,7 +319,7 @@ function! s:Markdown_Toc(...) lopen endif set modifiable - %s/\v^([^|]*\|){2,2} #// + %s/\v^([^|]*\|){2,2} #//e for i in range(1, line('$')) " this is the location-list data for the current item let d = getloclist(0)[i-1]