diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2025-07-01 12:15:34 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2025-07-01 12:57:37 +0100 |
| commit | 38aac21083a5fe877ae6a60bb33d5aa412dea0da (patch) | |
| tree | a87be8f857eae35df010ed9b91a5272bb4c10eff /runtime/lua/vim/_meta/api.lua | |
| parent | f731766474901e5e345e0ca630315ef69122e556 (diff) | |
fix: type of nvim_echo
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index b544ce4aa8..71d188921a 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -1096,7 +1096,7 @@ function vim.api.nvim_del_var(name) end --- vim.api.nvim_echo({ { 'chunk1-line1\nchunk1-line2\n' }, { 'chunk2-line1' } }, true, {}) --- ``` --- ---- @param chunks [string, integer|string][] List of `[text, hl_group]` pairs, where each is a `text` string highlighted by +--- @param chunks [string, integer|string?][] List of `[text, hl_group]` pairs, where each is a `text` string highlighted by --- the (optional) name or ID `hl_group`. --- @param history boolean if true, add to `message-history`. --- @param opts vim.api.keyset.echo_opts Optional parameters. |
