test: typing for screen.lua

Very rough buts resolves most diagnostic errors and should provide
some useful hovers.
This commit is contained in:
Lewis Russell
2024-01-23 00:53:15 +00:00
committed by Lewis Russell
parent 89ffdebd20
commit 0054c18500
3 changed files with 230 additions and 117 deletions

View File

@@ -352,7 +352,7 @@ function vim.schedule_wrap(fn)
end
-- vim.fn.{func}(...)
---@private
---@nodoc
vim.fn = setmetatable({}, {
__index = function(t, key)
local _fn