diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-08-29 11:00:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 11:00:24 +0200 |
commit | 0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1 (patch) | |
tree | 4e7959e315e40a34cb3fbdc26f23e5b8c8112971 /test/functional/terminal/highlight_spec.lua | |
parent | 97c6d80ca7364d571ade073a7fb498b180b54dd3 (diff) | |
parent | 8d6e3f2b88469a3af596cad5f3adf667d16cf8a2 (diff) | |
download | rneovim-0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1.tar.gz rneovim-0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1.tar.bz2 rneovim-0b5a7e4ad5eee229c7aca70b99f8b6f189d289d1.zip |
Merge pull request #4432 from bfredl/pum_ui
allow external UI:s to render the popupmenu
Diffstat (limited to 'test/functional/terminal/highlight_spec.lua')
-rw-r--r-- | test/functional/terminal/highlight_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua index 95fbf2c871..3d0ff6091d 100644 --- a/test/functional/terminal/highlight_spec.lua +++ b/test/functional/terminal/highlight_spec.lua @@ -25,7 +25,7 @@ describe('terminal window highlighting', function() [10] = {reverse = true}, [11] = {background = 11}, }) - screen:attach(false) + screen:attach({rgb=false}) execute('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert') screen:expect([[ tty ready | @@ -127,7 +127,7 @@ describe('terminal window highlighting with custom palette', function() [8] = {background = 11}, [9] = {bold = true}, }) - screen:attach(true) + screen:attach({rgb=true}) nvim('set_var', 'terminal_color_3', '#123456') execute('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert') screen:expect([[ @@ -185,7 +185,7 @@ describe('synIDattr()', function() end) it('returns gui-color if RGB-capable UI is attached', function() - screen:attach(true) + screen:attach({rgb=true}) eq('#ff0000', eval('synIDattr(hlID("Normal"), "fg")')) eq('Black', eval('synIDattr(hlID("Normal"), "bg")')) eq('Salmon', eval('synIDattr(hlID("Keyword"), "fg")')) @@ -193,7 +193,7 @@ describe('synIDattr()', function() end) it('returns #RRGGBB value for fg#/bg#/sp#', function() - screen:attach(true) + screen:attach({rgb=true}) eq('#ff0000', eval('synIDattr(hlID("Normal"), "fg#")')) eq('#000000', eval('synIDattr(hlID("Normal"), "bg#")')) eq('#fa8072', eval('synIDattr(hlID("Keyword"), "fg#")')) @@ -201,7 +201,7 @@ describe('synIDattr()', function() end) it('returns color number if non-GUI', function() - screen:attach(false) + screen:attach({rgb=false}) eq('252', eval('synIDattr(hlID("Normal"), "fg")')) eq('79', eval('synIDattr(hlID("Keyword"), "fg")')) end) |