blob: fcc13782e595d0638a4664bb42e6bb59459f030b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
-- Normal mode tests.
local t = require('test.functional.testutil')(after_each)
local clear = t.clear
local feed = t.feed
local fn = t.fn
local command = t.command
local eq = t.eq
describe('Normal mode', function()
before_each(clear)
it('setting &winhighlight or &winblend does not change curswant #27470', function()
fn.setline(1, { 'long long lone line', 'short line' })
feed('ggfi')
local pos = fn.getcurpos()
feed('j')
command('setlocal winblend=10 winhighlight=Visual:Search')
feed('k')
eq(pos, fn.getcurpos())
end)
end)
|