mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.1.1072: 'diffopt' "linematch" cannot be used with {n} less than 10
Problem: 'diffopt' "linematch" cannot be used with {n} less than 10
digits (after v9.1.1022)
Solution: Fix off-by-one error when checking for digit (zeertzjq)
closes: vim/vim#16577
ccd7f454fc
This commit is contained in:
parent
bd145a6c83
commit
3a1fe4732d
@ -209,9 +209,11 @@ let test_values = {
|
||||
\ 'icase', 'iwhite', 'iwhiteall', 'horizontal', 'vertical',
|
||||
\ 'closeoff', 'hiddenoff', 'foldcolumn:0', 'foldcolumn:12',
|
||||
\ 'followwrap', 'internal', 'indent-heuristic', 'algorithm:myers',
|
||||
\ 'algorithm:minimal', 'algorithm:patience',
|
||||
\ 'algorithm:histogram', 'icase,iwhite'],
|
||||
\ ['xxx', 'foldcolumn:xxx', 'algorithm:xxx', 'algorithm:']],
|
||||
\ 'icase,iwhite', 'algorithm:minimal', 'algorithm:patience',
|
||||
\ 'algorithm:histogram', 'linematch:5'],
|
||||
\ ['xxx', 'foldcolumn:', 'foldcolumn:x', 'foldcolumn:xxx',
|
||||
\ 'linematch:', 'linematch:x', 'linematch:xxx', 'algorithm:',
|
||||
\ 'algorithm:xxx', 'context:', 'context:x', 'context:xxx']],
|
||||
\ 'display': [['', 'lastline', 'truncate', 'uhex', 'lastline,uhex'],
|
||||
\ ['xxx']],
|
||||
\ 'eadirection': [['both', 'ver', 'hor'], ['xxx', 'ver,hor']],
|
||||
|
Loading…
Reference in New Issue
Block a user