diff options
| author | phanium <91544758+phanen@users.noreply.github.com> | 2025-06-05 00:26:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-04 09:26:56 -0700 |
| commit | f577bb024e511f281c27ff90a041a44acc63ed73 (patch) | |
| tree | 961a67b325a5afda1b833adbf602f0085f5341a8 /runtime/doc | |
| parent | 442dade5bed23737d07796d8b47eed15ed51e522 (diff) | |
| download | rneovim-f577bb024e511f281c27ff90a041a44acc63ed73.tar.gz rneovim-f577bb024e511f281c27ff90a041a44acc63ed73.tar.bz2 rneovim-f577bb024e511f281c27ff90a041a44acc63ed73.zip | |
docs: getreg() type #34215
```lua
---@type string
local _a = vim.fn.getreg('a', 1)
---@type string[]
local _b = vim.fn.getreg('a', 1, 1)
```
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/vimfn.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/vimfn.txt b/runtime/doc/vimfn.txt index 031e7c4cc0..d64779af8c 100644 --- a/runtime/doc/vimfn.txt +++ b/runtime/doc/vimfn.txt @@ -4089,6 +4089,7 @@ getreg([{regname} [, 1 [, {list}]]]) *getreg()* Parameters: ~ • {regname} (`string?`) + • {expr} (`any?`) • {list} (`nil|false?`) Return: ~ |