diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index d7dbc350cf..da70bcba57 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2650,7 +2650,7 @@ A jump table for the options with a short description can be found at |Q_op|. lastline '@' 'display' contains lastline/truncate trunc '>' truncated text in the |ins-completion-menu|. - truncrl '<' same as "trunc' in 'rightleft' mode + truncrl '<' same as "trunc" in 'rightleft' mode Any one that is omitted will fall back to the default. @@ -3546,10 +3546,10 @@ A jump table for the options with a short description can be found at |Q_op|. *'isexpand'* *'ise'* 'isexpand' 'ise' string (default "") global or local to buffer |global-local| - Defines characters and patterns for completion in insert mode. Used by - the |complete_match()| function to determine the starting position for - completion. This is a comma-separated list of triggers. Each trigger - can be: + Defines characters and patterns for completion in insert mode. Used + by the |complete_match()| function to determine the starting position + for completion. This is a comma-separated list of triggers. Each + trigger can be: - A single character like "." or "/" - A sequence of characters like "->", "/*", or "/**" @@ -7197,8 +7197,8 @@ A jump table for the options with a short description can be found at |Q_op|. < First press: longest common substring Second press: list all matches >vim set wildmode=noselect:full -< Show 'wildmenu' without completing or selecting on first press - Cycle full matches on second press >vim +< First press: show 'wildmenu' without completing or selecting + Second press: cycle full matches >vim set wildmode=noselect:lastused,full < Same as above, but buffer matches are sorted by time last used More info here: |cmdline-completion|. diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 5115c925be..4e28500bf3 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -2345,7 +2345,7 @@ vim.bo.ft = vim.bo.filetype --- lastline '@' 'display' contains lastline/truncate --- trunc '>' truncated text in the --- `ins-completion-menu`. ---- truncrl '<' same as "trunc' in 'rightleft' mode +--- truncrl '<' same as "trunc" in 'rightleft' mode --- --- Any one that is omitted will fall back to the default. --- @@ -3438,10 +3438,10 @@ vim.o.inf = vim.o.infercase vim.bo.infercase = vim.o.infercase vim.bo.inf = vim.bo.infercase ---- Defines characters and patterns for completion in insert mode. Used by ---- the `complete_match()` function to determine the starting position for ---- completion. This is a comma-separated list of triggers. Each trigger ---- can be: +--- Defines characters and patterns for completion in insert mode. Used +--- by the `complete_match()` function to determine the starting position +--- for completion. This is a comma-separated list of triggers. Each +--- trigger can be: --- - A single character like "." or "/" --- - A sequence of characters like "->", "/*", or "/**" --- @@ -7879,8 +7879,8 @@ vim.go.wmnu = vim.go.wildmenu --- ```vim --- set wildmode=noselect:full --- ``` ---- Show 'wildmenu' without completing or selecting on first press ---- Cycle full matches on second press +--- First press: show 'wildmenu' without completing or selecting +--- Second press: cycle full matches --- --- ```vim --- set wildmode=noselect:lastused,full diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 4a73846ad2..b5a01efb5c 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -3070,7 +3070,7 @@ local options = { lastline '@' 'display' contains lastline/truncate trunc '>' truncated text in the |ins-completion-menu|. - truncrl '<' same as "trunc' in 'rightleft' mode + truncrl '<' same as "trunc" in 'rightleft' mode Any one that is omitted will fall back to the default. @@ -4640,10 +4640,10 @@ local options = { defaults = '', deny_duplicates = true, desc = [=[ - Defines characters and patterns for completion in insert mode. Used by - the |complete_match()| function to determine the starting position for - completion. This is a comma-separated list of triggers. Each trigger - can be: + Defines characters and patterns for completion in insert mode. Used + by the |complete_match()| function to determine the starting position + for completion. This is a comma-separated list of triggers. Each + trigger can be: - A single character like "." or "/" - A sequence of characters like "->", "/*", or "/**" @@ -10245,8 +10245,8 @@ local options = { < First press: longest common substring Second press: list all matches >vim set wildmode=noselect:full - < Show 'wildmenu' without completing or selecting on first press - Cycle full matches on second press >vim + < First press: show 'wildmenu' without completing or selecting + Second press: cycle full matches >vim set wildmode=noselect:lastused,full < Same as above, but buffer matches are sorted by time last used More info here: |cmdline-completion|.