aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt17
-rw-r--r--runtime/lua/vim/_meta/options.lua17
2 files changed, 18 insertions, 16 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 9f084c5d44..dd2460722e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1526,17 +1526,18 @@ A jump table for the options with a short description can be found at |Q_op|.
find completion candidates instead of the standard prefix-based
matching. This option can contain the following values:
- keyword keywords in the current file |i_CTRL-X_CTRL-N|
- keywords with the ".", "w", "b", "u", "U" and
- "k{dict}" flags in 'complete'. |i_CTRL-N| |i_CTRL-P|
+ keyword keywords in the current file |i_CTRL-X_CTRL-N|
+ keywords with flags ".", "w", |i_CTRL-N| |i_CTRL-P|
+ "b", "u", "U" and "k{dict}" in 'complete'
+ keywords in 'dictionary' |i_CTRL-X_CTRL-K|
- files file names |i_CTRL-X_CTRL-F|
+ files file names |i_CTRL-X_CTRL-F|
- whole_line whole lines |i_CTRL-X_CTRL-L|
+ whole_line whole lines |i_CTRL-X_CTRL-L|
- When used with 'completeopt' "longest" option, fuzzy collection can
- identify the longest common string among the best fuzzy matches and
- automatically insert it.
+ When using the 'completeopt' "longest" option value, fuzzy collection
+ can identify the longest common string among the best fuzzy matches
+ and insert it automatically.
*'completeitemalign'* *'cia'*
'completeitemalign' 'cia' string (default "abbr,kind,menu")
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index a3cb5042aa..20d8ac3058 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1050,17 +1050,18 @@ vim.bo.cfu = vim.bo.completefunc
--- find completion candidates instead of the standard prefix-based
--- matching. This option can contain the following values:
---
---- keyword keywords in the current file `i_CTRL-X_CTRL-N`
---- keywords with the ".", "w", "b", "u", "U" and
---- "k{dict}" flags in 'complete'. `i_CTRL-N` `i_CTRL-P`
+--- keyword keywords in the current file `i_CTRL-X_CTRL-N`
+--- keywords with flags ".", "w", `i_CTRL-N` `i_CTRL-P`
+--- "b", "u", "U" and "k{dict}" in 'complete'
+--- keywords in 'dictionary' `i_CTRL-X_CTRL-K`
---
---- files file names `i_CTRL-X_CTRL-F`
+--- files file names `i_CTRL-X_CTRL-F`
---
---- whole_line whole lines `i_CTRL-X_CTRL-L`
+--- whole_line whole lines `i_CTRL-X_CTRL-L`
---
---- When used with 'completeopt' "longest" option, fuzzy collection can
---- identify the longest common string among the best fuzzy matches and
---- automatically insert it.
+--- When using the 'completeopt' "longest" option value, fuzzy collection
+--- can identify the longest common string among the best fuzzy matches
+--- and insert it automatically.
---
--- @type string
vim.o.completefuzzycollect = ""