Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit812186e

Browse files
zeertzjqgirishji
andcommitted
vim-patch:9.1.1930: completion: 'completefuzzycollect' is too obscure
Problem: completion: 'completefuzzycollect' option is too obscureSolution: Deprecate the option, but don't error out for existing scripts, behave like 'completefuzzycollect' is set when fuzzy completion is enabled (Girish Palya).fixes:vim/vim#18498closes:vim/vim#18788vim/vim@33fbfe0Remove this option completely, as it's introduced in Nvim v0.12 cycle.Co-authored-by: Girish Palya <girishji@gmail.com>
1 parenta6ea446 commit812186e

File tree

13 files changed

+84
-188
lines changed

13 files changed

+84
-188
lines changed

‎runtime/doc/news.txt‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ LSP
3333

3434
OPTIONS
3535

36-
todo
36+
`'completefuzzycollect'` has been removed.
3737

3838
TREESITTER
3939

@@ -297,8 +297,6 @@ OPTIONS
297297
'autocomplete' enables|ins-autocompletion|.
298298
'autowriteall' writes all buffers upon receiving`SIGHUP`,`SIGQUIT` or`SIGTSTP`.
299299
'chistory' and'lhistory' set size of the|quickfix-stack|.
300-
'completefuzzycollect' enables fuzzy collection of candidates for (some)
301-
|ins-completion| modes.
302300
'complete' new flags:
303301
• "F{func}" complete using given function
304302
• "F" complete using'completefunc'

‎runtime/doc/options.txt‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,28 +1591,6 @@ A jump table for the options with a short description can be found at |Q_op|.
15911591
This option cannot be set from a|modeline| or in the|sandbox|, for
15921592
security reasons.
15931593

1594-
*'completefuzzycollect'**'cfc'*
1595-
'completefuzzycollect''cfc'string(default "")
1596-
global
1597-
A comma-separated list of strings to enable fuzzy collection for
1598-
specific|ins-completion| modes, affecting how matches are gathered
1599-
during completion. For specified modes, fuzzy matching is used to
1600-
find completion candidates instead of the standard prefix-based
1601-
matching. This option can contain the following values:
1602-
1603-
keywordkeywords in the current file|i_CTRL-X_CTRL-N|
1604-
keywords with flags ".", "w",|i_CTRL-N||i_CTRL-P|
1605-
"b", "u", "U" and "k{dict}" in'complete'
1606-
keywords in'dictionary'|i_CTRL-X_CTRL-K|
1607-
1608-
filesfile names|i_CTRL-X_CTRL-F|
1609-
1610-
whole_linewhole lines|i_CTRL-X_CTRL-L|
1611-
1612-
When using the'completeopt' "longest" option value, fuzzy collection
1613-
can identify the longest common string among the best fuzzy matches
1614-
and insert it automatically.
1615-
16161594
*'completeitemalign'**'cia'*
16171595
'completeitemalign''cia'string(default "abbr,kind,menu")
16181596
global

‎runtime/lua/vim/_meta/options.lua‎

Lines changed: 0 additions & 25 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎runtime/scripts/optwin.lua‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ local options_list = {
242242
{'autocompletedelay',N_'delay in msec before menu appears after typing'},
243243
{'completeopt',N_'whether to use a popup menu for Insert mode completion'},
244244
{'completeitemalign',N_'popup menu item align order'},
245-
{'completefuzzycollect',N_'use fuzzy collection for specific completion modes'},
246245
{'pumheight',N_'maximum height of the popup menu'},
247246
{'pumwidth',N_'minimum width of the popup menu'},
248247
{'pummaxwidth',N_'maximum width of the popup menu'},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp