mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.1.0283: Several small issues in doc and tests (#28249)
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.
a040019be6
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
102720be94
commit
4946489e2e
@ -2059,7 +2059,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.
|
||||
|
@ -1777,10 +1777,12 @@ func Test_diff_eob_halfpage()
|
||||
5new
|
||||
call setline(1, ['']->repeat(10) + ['a'])
|
||||
diffthis
|
||||
call assert_true(5, winheight(5))
|
||||
5new
|
||||
call setline(1, ['']->repeat(3) + ['a', 'b'])
|
||||
diffthis
|
||||
wincmd j
|
||||
resize 7
|
||||
exe "norm! G\<C-D>"
|
||||
call assert_equal(6, line('w0'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user