mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.1851 (#5947)
Problem: test_syn_attr failes when using the GUI. (Dominique Pelle)
Solution: Escape the font name properly.
180fc2d418
This commit is contained in:
parent
a265ff448e
commit
1474304224
@ -20,7 +20,7 @@ func Test_missing_attr()
|
||||
if fontname == ''
|
||||
let fontname = 'something'
|
||||
endif
|
||||
exe 'hi Mine guifg=blue guibg=red font=' . escape(fontname, ' \')
|
||||
exe "hi Mine guifg=blue guibg=red font='" . fontname . "'"
|
||||
call assert_equal('blue', synIDattr(hlID("Mine"), "fg", 'gui'))
|
||||
call assert_equal('red', synIDattr(hlID("Mine"), "bg", 'gui'))
|
||||
call assert_equal(fontname, synIDattr(hlID("Mine"), "font", 'gui'))
|
||||
|
@ -589,7 +589,7 @@ static int included_patches[] = {
|
||||
// 1854 NA
|
||||
// 1853 NA
|
||||
// 1852 NA
|
||||
// 1851,
|
||||
1851,
|
||||
// 1850 NA
|
||||
// 1849 NA
|
||||
// 1848 NA
|
||||
|
Loading…
Reference in New Issue
Block a user