backport: docs: misc, window (#39722)

- formalize `window-number` similar to `tabpage-number`.
- reference it from docs.
This commit is contained in:
Justin M. Keyes
2026-05-11 17:06:59 -04:00
committed by GitHub
parent 5b8268356a
commit 25b522a75d
12 changed files with 227 additions and 210 deletions

View File

@@ -30,6 +30,11 @@ local is_os = t.is_os
local testlog = 'Xtest-defaults-log'
describe('startup defaults', function()
it("NVIM_NOTTYFAST=1 unsets 'ttyfast'", function()
clear { env = { NVIM_NOTTYFAST = '1' } }
eq(0, n.eval('&ttyfast'))
end)
describe(':filetype', function()
local function expect_filetype(expected)
local screen = Screen.new(50, 4)