From: Ciro Santilli Date: Sun, 28 Sep 2014 19:32:39 +0000 (+0200) Subject: Merge pull request #128 from cirosantilli/unit-test X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/dd526fd23ca26dd31d87e64144e27e95aff94b8a?hp=4b8f631148d5ed7830cc34a7aa91ef71ea253f84 Merge pull request #128 from cirosantilli/unit-test Add unit tests and travis support. --- 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]