robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #40865 from justinmk/fixcif907614088

master
321 B16 linesraw
1local t = require('test.testutil')
2local n = require('test.functional.testnvim')()
3
4local it = t.it
5local clear = n.clear
6local eq = t.eq
7local fn = n.fn
8local command = n.command
9
10it(':wincmd accepts a count', function()
11  clear()
12  command('vsplit')
13  eq(1, fn.winnr())
14  command('wincmd 2 w')
15  eq(2, fn.winnr())
16end)