From: Ciro Santilli Date: Sun, 7 Sep 2014 16:02:22 +0000 (+0200) Subject: Remove useless line in toc function. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ec849b08fe403dba226248ff01c04a67e53fed41?hp=-c Remove useless line in toc function. --- ec849b08fe403dba226248ff01c04a67e53fed41 diff --git a/ftplugin/mkd.vim b/ftplugin/mkd.vim index 42dca90..312c2a4 100644 --- a/ftplugin/mkd.vim +++ b/ftplugin/mkd.vim @@ -319,7 +319,6 @@ function! s:Markdown_Toc(...) lopen endif set modifiable - %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]