Skip to content

Commit 75651d2

Browse files
committed
Merge pull request #157 from jez/fix/pandoc-pipe-tables
Fix pandocPipeTable highlighting
2 parents ea15560 + 9be8158 commit 75651d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/pandoc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ syn match pandocGridTableHeader /\%#=2\(^.*\n\)\(+=.*\)\@=/ contained containedi
357357
"}}}3
358358
" Pipe: {{{3
359359
" with beginning and end pipes
360-
syn region pandocPipeTable start=/\%#=2\([+|]\n\)\@<!\n\@1<=|\(.*|\)\@=/ end=/|.*\n\n/ containedin=ALLBUT,pandocDelimitedCodeBlock,pandocYAMLHeader keepend
360+
syn region pandocPipeTable start=/\%#=2\([+|]\n\)\@<!\n\@1<=|\(.*|\)\@=/ end=/|.*\n\(\n\|{\)/ containedin=ALLBUT,pandocDelimitedCodeBlock,pandocYAMLHeader keepend
361361
" without beginning and end pipes
362362
syn region pandocPipeTable start=/\%#=2^.*\n-.\{-}|/ end=/|.*\n\n/ keepend
363363
syn match pandocPipeTableDelims /[\|\-:+]/ contained containedin=pandocPipeTable

0 commit comments

Comments
 (0)