diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-05-20 04:07:50 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-05-20 04:07:50 -0400 |
commit | 66adc2daeee6d044b17f49553ac1716eadb5c6f1 (patch) | |
tree | bc2b0b47f68be056ba0efa18c37340d5d2d7db33 /test/functional/ui/mouse_spec.lua | |
parent | 56cb1eb9f9579f56361a7208e776f5d15d4cdde7 (diff) | |
parent | 723497f030c76e07453b0cdd24ed404e6fb5a2a6 (diff) | |
download | rneovim-66adc2daeee6d044b17f49553ac1716eadb5c6f1.tar.gz rneovim-66adc2daeee6d044b17f49553ac1716eadb5c6f1.tar.bz2 rneovim-66adc2daeee6d044b17f49553ac1716eadb5c6f1.zip |
Merge #4744 'highlight listchar in cursorline'
Diffstat (limited to 'test/functional/ui/mouse_spec.lua')
-rw-r--r-- | test/functional/ui/mouse_spec.lua | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/test/functional/ui/mouse_spec.lua b/test/functional/ui/mouse_spec.lua index d0d791308b..993bbd5b0e 100644 --- a/test/functional/ui/mouse_spec.lua +++ b/test/functional/ui/mouse_spec.lua @@ -23,7 +23,12 @@ describe('Mouse input', function() screen:attach() screen:set_default_attr_ids({ [1] = {background = hlgroup_colors.Visual}, - [2] = {bold = true} + [2] = {bold = true}, + [3] = { + foreground = hlgroup_colors.NonText, + background = hlgroup_colors.Visual, + bold = true, + }, }) screen:set_default_attr_ignore( {{bold=true, foreground=hlgroup_colors.NonText}} ) feed('itesting<cr>mouse<cr>support and selection<esc>') @@ -225,14 +230,14 @@ describe('Mouse input', function() feed('<LeftDrag><2,2>') screen:expect([[ testing | - mo{1:use } | + mo{1:use}{3: } | {1:su}^pport and selection | ~ | {2:-- VISUAL --} | ]]) feed('<LeftDrag><0,0>') screen:expect([[ - ^t{1:esting } | + ^t{1:esting}{3: } | {1:mou}se | support and selection | ~ | @@ -293,7 +298,7 @@ describe('Mouse input', function() screen:expect([[ testing | mouse | - {1:su}^p{1:port and selection } | + {1:su}^p{1:port and selection}{3: } | ~ | {2:-- VISUAL LINE --} | ]]) @@ -321,8 +326,8 @@ describe('Mouse input', function() ]]) feed('<RightMouse><2,2>') screen:expect([[ - {1:testing } | - {1:mouse } | + {1:testing}{3: } | + {1:mouse}{3: } | {1:su}^pport and selection | ~ | {2:-- VISUAL --} | |