Vim.Compat: fix capture() (thanks @thinca)