TUI: implement "standout" attribute #8081

closes #8054
This commit is contained in:
Nimit Bhardwaj
2018-02-28 22:11:37 +05:30
committed by Justin M. Keyes
parent a9c94f7bb0
commit 8d5a46e77b
4 changed files with 45 additions and 4 deletions

View File

@@ -99,5 +99,14 @@ describe('highlight api',function()
eq(false, err)
eq('Invalid highlight name: ',
string.match(emsg, 'Invalid.*'))
-- Test "standout" attribute. #8054
eq({ underline = true, },
meths.get_hl_by_name('cursorline', 0));
command('hi CursorLine cterm=standout,underline term=standout,underline gui=standout,underline')
command('set cursorline')
eq({ underline = true, standout = true, },
meths.get_hl_by_name('cursorline', 0));
end)
end)