aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/cursor_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-03 16:16:21 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-04 14:19:26 +0200
commit3ccd59ee8216f3da812c5cf81eb392e6a95b539a (patch)
tree218958ab0e2d7b7e359778f68a56079da47a3c2d /test/functional/ui/cursor_spec.lua
parent9d560d5c6b02d34690ca47ee6f32e31ee4a6d90e (diff)
downloadrneovim-3ccd59ee8216f3da812c5cf81eb392e6a95b539a.tar.gz
rneovim-3ccd59ee8216f3da812c5cf81eb392e6a95b539a.tar.bz2
rneovim-3ccd59ee8216f3da812c5cf81eb392e6a95b539a.zip
'guicursor': enabled=false if 'guicursor' is empty
Closes #6429 Closes #6430
Diffstat (limited to 'test/functional/ui/cursor_spec.lua')
-rw-r--r--test/functional/ui/cursor_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/cursor_spec.lua b/test/functional/ui/cursor_spec.lua
index 1e3a9fcb60..c022a5649e 100644
--- a/test/functional/ui/cursor_spec.lua
+++ b/test/functional/ui/cursor_spec.lua
@@ -144,6 +144,7 @@ describe('ui/cursor', function()
}
-- Default 'guicursor' published on startup.
eq(expected_cursor_style, screen._cursor_style)
+ eq(true, screen._cursor_style_enabled)
eq('normal', screen.mode)
-- Event is published ONLY if the cursor style changed.