fix: type annotation

This commit is contained in:
Oleksandr Smirnov 2025-11-06 15:02:50 +02:00
parent 03de1f5ffc
commit fabdcc5fb3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ function iferr.iferr()
vim.fn.append(pos, u.remove_empty_lines(vim.split(rs.stdout, "\n"))) vim.fn.append(pos, u.remove_empty_lines(vim.split(rs.stdout, "\n")))
vim.cmd [[silent normal! j=2j]] vim.cmd [[silent normal! j=2j]]
vim.fn.setpos(".", pos) vim.fn.setpos(".", pos --[[@as integer[] ]])
end end
return iferr return iferr

View file

@ -98,5 +98,5 @@ cmd("GoWork", function(opts)
end, "*") end, "*")
cmd("GoGenerate", function(opts) cmd("GoGenerate", function(opts)
require("gopher").generate(opts.fargs or "") require("gopher").generate(opts.fargs or { "" })
end, "?") end, "?")