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
22
33
44 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|.
21042104 This option cannot be set from a | modeline | or in the | sandbox | , for
21052105 security reasons.
21062106
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+
21072119 *'completeitemalign'* *'cia'*
21082120'completeitemalign' 'cia' string (default: "abbr,kind,menu")
21092121 global
@@ -2123,7 +2135,12 @@ A jump table for the options with a short description can be found at |Q_op|.
21232135 fuzzy Enable | fuzzy-matching | for completion candidates. This
21242136 allows for more flexible and intuitive matching, where
21252137 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' | .
21272144
21282145 longest Only insert the longest common text of the matches. If
21292146 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|.
21402157 match, e.g., what file it comes from.
21412158
21422159 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.
21452162
21462163 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
21482165 present, "noselect" has precedence.
21492166
21502167 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
21522169 in their original order.
21532170
21542171 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|.
21682185 Preinsert the portion of the first candidate word that is
21692186 not part of the current completion leader and using the
21702187 | 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.
21722189
21732190 preview Show extra information about the currently selected
21742191 completion in the preview window. Only works in
0 commit comments