X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/680f0dc758579ab297d29a1830648e489c4ad1ab..e07c336bca7861790e8bbc496bb7a47f489e0907:/ftplugin/markdown.vim diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index c7fba7f..71c6735 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -459,8 +459,11 @@ function! s:TableFormat() " Remove everything that is not a pipe othewise well formated tables would grow " because of addition of 2 spaces on the separator line by Tabularize /|. let l:flags = (&gdefault ? '' : 'g') - execute 's/[^|]//' . l:flags + execute 's/\(:\@