mirror of
https://github.com/neovim/neovim.git
synced 2026-01-08 12:27:43 +10:00
```lua
---@type string
local _a = vim.fn.getreg('a', 1)
---@type string[]
local _b = vim.fn.getreg('a', 1, 1)
```
```lua
---@type string
local _a = vim.fn.getreg('a', 1)
---@type string[]
local _b = vim.fn.getreg('a', 1, 1)
```