fix: type annotation
This commit is contained in:
parent
03de1f5ffc
commit
fabdcc5fb3
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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, "?")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue