vim-patch:6e28211: runtime(doc): Tweak documentation style

closes: vim/vim#18462

6e282117c7

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
zeertzjq
2025-10-02 11:11:53 +08:00
parent a1bc5d0ae6
commit 3f422cb5eb
3 changed files with 21 additions and 24 deletions

View File

@@ -1639,12 +1639,11 @@ A jump table for the options with a short description can be found at |Q_op|.
see 'completefuzzycollect'.
longest
When 'autocomplete' is not active, only the longest
common prefix of the matches is inserted. If the popup
menu is displayed, you can use CTRL-L to add more
characters. Whether case is ignored depends on the type
of completion. For buffer text the 'ignorecase' option
applies.
When 'autocomplete' is not active, only the longest common
prefix of the matches is inserted. If the popup menu is
displayed, you can use CTRL-L to add more characters.
Whether case is ignored depends on the type of completion.
For buffer text the 'ignorecase' option applies.
When 'autocomplete' is active and no completion item is
selected, the longest common prefix of the matches is
@@ -1686,8 +1685,8 @@ A jump table for the options with a short description can be found at |Q_op|.
with "menu" or "menuone". Overrides "preview".
preinsert
Inserts the text of the first completion candidate
beyond the current leader, highlighted with |hl-PreInsert|.
Inserts the text of the first completion candidate beyond
the current leader, highlighted with |hl-PreInsert|.
The cursor does not move.
Requires "fuzzy" to be unset, and either "menuone" in
'completeopt' or 'autocomplete' enabled. When

View File

@@ -1184,12 +1184,11 @@ vim.go.cia = vim.go.completeitemalign
--- see 'completefuzzycollect'.
---
--- longest
--- When 'autocomplete' is not active, only the longest
--- common prefix of the matches is inserted. If the popup
--- menu is displayed, you can use CTRL-L to add more
--- characters. Whether case is ignored depends on the type
--- of completion. For buffer text the 'ignorecase' option
--- applies.
--- When 'autocomplete' is not active, only the longest common
--- prefix of the matches is inserted. If the popup menu is
--- displayed, you can use CTRL-L to add more characters.
--- Whether case is ignored depends on the type of completion.
--- For buffer text the 'ignorecase' option applies.
---
--- When 'autocomplete' is active and no completion item is
--- selected, the longest common prefix of the matches is
@@ -1231,8 +1230,8 @@ vim.go.cia = vim.go.completeitemalign
--- with "menu" or "menuone". Overrides "preview".
---
--- preinsert
--- Inserts the text of the first completion candidate
--- beyond the current leader, highlighted with `hl-PreInsert`.
--- Inserts the text of the first completion candidate beyond
--- the current leader, highlighted with `hl-PreInsert`.
--- The cursor does not move.
--- Requires "fuzzy" to be unset, and either "menuone" in
--- 'completeopt' or 'autocomplete' enabled. When

View File

@@ -1664,12 +1664,11 @@ local options = {
see 'completefuzzycollect'.
longest
When 'autocomplete' is not active, only the longest
common prefix of the matches is inserted. If the popup
menu is displayed, you can use CTRL-L to add more
characters. Whether case is ignored depends on the type
of completion. For buffer text the 'ignorecase' option
applies.
When 'autocomplete' is not active, only the longest common
prefix of the matches is inserted. If the popup menu is
displayed, you can use CTRL-L to add more characters.
Whether case is ignored depends on the type of completion.
For buffer text the 'ignorecase' option applies.
When 'autocomplete' is active and no completion item is
selected, the longest common prefix of the matches is
@@ -1711,8 +1710,8 @@ local options = {
with "menu" or "menuone". Overrides "preview".
preinsert
Inserts the text of the first completion candidate
beyond the current leader, highlighted with |hl-PreInsert|.
Inserts the text of the first completion candidate beyond
the current leader, highlighted with |hl-PreInsert|.
The cursor does not move.
Requires "fuzzy" to be unset, and either "menuone" in
'completeopt' or 'autocomplete' enabled. When