Skip to content

Commit 22b67a7

Browse files
Konfektalerque
authored andcommitted
Enable spell check in table headers (#267)
Fixes vim-pandoc/vim-pandoc#264
1 parent e1ce4ff commit 22b67a7

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
@@ -410,7 +410,7 @@ syn match pandocPipeTableHeader /\(^.*\n\)\(|-\)\@=/ contained containedin=pando
410410
syn match pandocPipeTableHeader /\(^.*\n\)\(-\)\@=/ contained containedin=pandocPipeTable
411411
" }}}3
412412

413-
syn match pandocTableHeaderWord /\<.\{-}\>/ contained containedin=pandocGridTableHeader,pandocPipeTableHeader
413+
syn match pandocTableHeaderWord /\<.\{-}\>/ contained containedin=pandocGridTableHeader,pandocPipeTableHeader contains=@Spell
414414
" }}}2
415415

416416
" Delimited Code Blocks: {{{2

0 commit comments

Comments
 (0)