From 3b906af27fbd27a148ed6ca66e79b273ba5e8521 Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Mon, 1 May 2023 14:42:30 +0200 Subject: test: 'smoothscroll' <<< marker shows with tabline, winbar and splits --- test/functional/legacy/scroll_opt_spec.lua | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/test/functional/legacy/scroll_opt_spec.lua b/test/functional/legacy/scroll_opt_spec.lua index 253b20df5c..b00ff0bc7a 100644 --- a/test/functional/legacy/scroll_opt_spec.lua +++ b/test/functional/legacy/scroll_opt_spec.lua @@ -719,4 +719,59 @@ describe('smoothscroll', function() | ]]) end) + + it('<<< marker shows with tabline, winbar and splits', function() + screen:try_resize(40, 12) + exec([[ + call setline(1, ['Line' .. (' with some text'->repeat(7))]->repeat(7)) + set smoothscroll scrolloff=0 + norm sj + ]]) + screen:expect([[ + <<') + screen:expect([[ + 2+ [No Name] | + <<k') + screen:expect([[ + 2+ [No Name] | + winbar | + <<