patch 9.1.0282: Several small issues in doc and tests

Problem:  Wrong doc style for pandoc syntax description,
          Test_diff_eob_halfpage() may fail depending on
          screen size, using braces in highlight.c when
          not necessary
Solution: Fix pandoc documentation, make sure the window
          for the test has 7 lines, remove the braces.

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-04-09 08:06:52 +02:00
parent 34f00dd4ab
commit a040019be6
5 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2024 Apr 08
*syntax.txt* For Vim version 9.1. Last change: 2024 Apr 09
VIM REFERENCE MANUAL by Bram Moolenaar
@ -2532,7 +2532,7 @@ can use the "PANDOC=VIM" syntax. For example: >
To use italics and strong in emphases. Default = 1 >
:let *g:pandoc#syntax#style#emphases = 1
:let g:pandoc#syntax#style#emphases = 1
"0" will add "block" to g:pandoc#syntax#conceal#blacklist, because otherwise
you couldn't tell where the styles are applied.