mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:partial:fa8b7db: runtime(doc): tweak documentation style in options.txt
closes: vim/vim#17229
fa8b7db99a
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
@@ -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|.
|
||||
|
14
runtime/lua/vim/_meta/options.lua
generated
14
runtime/lua/vim/_meta/options.lua
generated
@@ -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
|
||||
|
@@ -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|.
|
||||
|
Reference in New Issue
Block a user