1
- *options.txt* For Vim version 9.1. Last change: 2025 Mar 02
1
+ *options.txt* For Vim version 9.1. Last change: 2025 Mar 07
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2104,6 +2104,18 @@ A jump table for the options with a short description can be found at |Q_op|.
2104
2104
This option cannot be set from a | modeline | or in the | sandbox | , for
2105
2105
security reasons.
2106
2106
2107
+ *'completefuzzycollect'* *'cfc'*
2108
+ 'completefuzzycollect' 'cfc' string (default: empty)
2109
+ global
2110
+ This option enables fuzzy collection for (only some) specific
2111
+ | ins-completion | modes, adjusting how items are gathered for fuzzy
2112
+ matching based on input.
2113
+ The option can contain the following values (separated by commas),
2114
+ each enabling fuzzy collection for a specific completion mode:
2115
+ files file names
2116
+ keyword keyword completion in 'complete' and current file
2117
+ whole_line whole lines
2118
+
2107
2119
*'completeitemalign'* *'cia'*
2108
2120
'completeitemalign' 'cia' string (default: "abbr,kind,menu")
2109
2121
global
@@ -2123,7 +2135,12 @@ A jump table for the options with a short description can be found at |Q_op|.
2123
2135
fuzzy Enable | fuzzy-matching | for completion candidates. This
2124
2136
allows for more flexible and intuitive matching, where
2125
2137
characters can be skipped and matches can be found even
2126
- if the exact sequence is not typed.
2138
+ if the exact sequence is not typed. Note: This option
2139
+ does not affect the collection of candidate list, it only
2140
+ controls how completion candidates are reduced from the
2141
+ list of alternatives. If you want to use | fuzzy-matching |
2142
+ to gather more alternatives for your candidate list,
2143
+ see | 'completefuzzycollect' | .
2127
2144
2128
2145
longest Only insert the longest common text of the matches. If
2129
2146
the menu is displayed you can use CTRL-L to add more
@@ -2140,15 +2157,15 @@ A jump table for the options with a short description can be found at |Q_op|.
2140
2157
match, e.g., what file it comes from.
2141
2158
2142
2159
noinsert Do not insert any text for a match until the user selects
2143
- a match from the menu. Only works in combination with
2144
- "menu" or "menuone". No effect if "longest" is present.
2160
+ a match from the menu. Only works in combination with
2161
+ "menu" or "menuone". No effect if "longest" is present.
2145
2162
2146
2163
noselect Same as "noinsert", except that no menu item is
2147
- pre-selected. If both "noinsert" and "noselect" are
2164
+ pre-selected. If both "noinsert" and "noselect" are
2148
2165
present, "noselect" has precedence.
2149
2166
2150
2167
nosort Disable sorting of completion candidates based on fuzzy
2151
- scores when "fuzzy" is enabled. Candidates will appear
2168
+ scores when "fuzzy" is enabled. Candidates will appear
2152
2169
in their original order.
2153
2170
2154
2171
popup Show extra information about the currently selected
@@ -2168,7 +2185,7 @@ A jump table for the options with a short description can be found at |Q_op|.
2168
2185
Preinsert the portion of the first candidate word that is
2169
2186
not part of the current completion leader and using the
2170
2187
| hl-ComplMatchIns | highlight group. In order for it to
2171
- work, "fuzzy" must not bet set and "menuone" must be set.
2188
+ work, "fuzzy" must not be set and "menuone" must be set.
2172
2189
2173
2190
preview Show extra information about the currently selected
2174
2191
completion in the preview window. Only works in
0 commit comments