Skip to content

Commit 7231fa4

Browse files
author
Roland Leißa
authored
Allow escaped pipe (bar) characters inside TableFormat
Closes #610
1 parent c3f83eb commit 7231fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/markdown.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ function! s:TableFormat()
546546
let l:flags = (&gdefault ? '' : 'g')
547547
execute 's/\(:\@<!-:\@!\|[^|:-]\)//e' . l:flags
548548
execute 's/--/-/e' . l:flags
549-
Tabularize /|
549+
Tabularize /\(\\\)\@<!|
550550
" Move colons for alignment to left or right side of the cell.
551551
execute 's/:\( \+\)|/\1:|/e' . l:flags
552552
execute 's/|\( \+\):/|:\1/e' . l:flags

0 commit comments

Comments
 (0)