mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 23:35:32 +00:00
docs: getreg() type #34215
```lua
---@type string
local _a = vim.fn.getreg('a', 1)
---@type string[]
local _b = vim.fn.getreg('a', 1, 1)
```
This commit is contained in:
@@ -4089,6 +4089,7 @@ getreg([{regname} [, 1 [, {list}]]]) *getreg()*
|
||||
|
||||
Parameters: ~
|
||||
• {regname} (`string?`)
|
||||
• {expr} (`any?`)
|
||||
• {list} (`nil|false?`)
|
||||
|
||||
Return: ~
|
||||
|
||||
Reference in New Issue
Block a user