diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval.lua | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 351b9f0510..9572de471e 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -12768,7 +12768,7 @@ M.funcs = { 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). ]=], name = 'wildmenumode', params = {}, diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 3c3eaaf5a1..fba5eab0bc 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -9130,7 +9130,9 @@ return { 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: >vim |