aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-17 08:14:58 +0800
committerGitHub <noreply@github.com>2024-10-17 08:14:58 +0800
commitfae4d3fa1b65b7632d048cad2a1beb7afaa61c21 (patch)
tree4f8ae3cbbf00c7d1bf8f998bf8a4d5139d591ba3 /runtime/lua/vim
parent852954ff6d96adce0158f74ca494fdcef3aa1921 (diff)
parentc89150241d52ac70dd5bf0f4f8cb90902a7ccf6c (diff)
downloadrneovim-fae4d3fa1b65b7632d048cad2a1beb7afaa61c21.tar.gz
rneovim-fae4d3fa1b65b7632d048cad2a1beb7afaa61c21.tar.bz2
rneovim-fae4d3fa1b65b7632d048cad2a1beb7afaa61c21.zip
Merge pull request #30836 from zeertzjq/vim-4bfb899
vim-patch: doc updates
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/options.lua4
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 36c0f583c7..c33753047f 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -7310,7 +7310,9 @@ vim.go.titleold = vim.o.titleold
--- window. This happens only when the 'title' option is on.
---
--- When this option contains printf-style '%' items, they will be
---- expanded according to the rules used for 'statusline'.
+--- expanded according to the rules used for 'statusline'. If it contains
+--- an invalid '%' format, the value is used as-is and no error or warning
+--- will be given when the value is set.
--- This option cannot be set in a modeline when 'modelineexpr' is off.
---
--- Example:
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index de1937f620..d00bbe4770 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -10629,7 +10629,7 @@ function vim.fn.wait(timeout, condition, interval) end
--- For example to make <c-j> work like <down> in wildmode, use: >vim
--- cnoremap <expr> <C-j> wildmenumode() ? "\<Down>\<Tab>" : "\<c-j>"
--- <
---- (Note, this needs the 'wildcharm' option set appropriately).
+--- (Note: this needs the 'wildcharm' option set appropriately).
---
--- @return any
function vim.fn.wildmenumode() end