Skip to content

Commit

Permalink
fix new line whitespace highlighting (#293)
Browse files Browse the repository at this point in the history
should resolve #292 (comment)
  • Loading branch information
Konfekt authored and fmoralesc committed Jun 25, 2019
1 parent c692203 commit 6710d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/pandoc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ endif

" New_lines: {{{3
if g:pandoc#syntax#newlines == 1
call s:WithConceal("newline", 'syn match pandocNewLine /\( \{4,4}\@<= \|\S\@<= \|\\\)$/ display containedin=pandocEmphasis,pandocStrong,pandocStrongEmphasis,pandocStrongInEmphasis,pandocEmphasisInStrong', 'conceal cchar='.s:cchars["newline"])
call s:WithConceal("newline", 'syn match pandocNewLine /\%(\%(\S\)\@<= \{2,}\|\\\)$/ display containedin=pandocEmphasis,pandocStrong,pandocStrongEmphasis,pandocStrongInEmphasis,pandocEmphasisInStrong', 'conceal cchar='.s:cchars["newline"])
endif
" }}}3

Expand Down

0 comments on commit 6710d46

Please sign in to comment.