1
0
forked from aniani/vim

patch 9.1.0503: cannot use fuzzy keyword completion

Problem:  cannot use fuzzy keyword completion
          (Maxim Kim)
Solution: add the "fuzzycollect" value for the 'completeopt'
          setting, to gather matches using fuzzy logic (glepnir)

fixes: #14912
closes: #14976

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
glepnir
2024-06-19 20:20:48 +02:00
committed by Christian Brabandt
parent 94c5d8a5e2
commit 43eef882ff
7 changed files with 92 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2024 Jun 17
*options.txt* For Vim version 9.1. Last change: 2024 Jun 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2151,6 +2151,11 @@ A jump table for the options with a short description can be found at |Q_op|.
difference how completion candidates are reduced from the
list of alternatives, but not how the candidates are
collected (using different completion types).
fuzzycollect
Enable fuzzy collection for default keyword completion.
This allows the collection of matches using fuzzy matching
criteria, providing more comprehensive and flexible
results. Works in combination with other fuzzy options.
*'completepopup'* *'cpp'*
'completepopup' 'cpp' string (default empty)

View File

@@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.1. Last change: 2024 Jun 18
*version9.txt* For Vim version 9.1. Last change: 2024 Jun 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41554,7 +41554,7 @@ Enum support for Vim9 script |:enum|
*new-other-9.2*
Other new features ~
------------------
The comment plugin |comment-install| is included.
The new plugins |comment-install| and |nohlsearch-install| are included.
Support for Wayland UI.
@@ -41634,7 +41634,8 @@ Improved visual highlighting.
Python3 support in OpenVMS.
Support |fuzzy-matching| during |ins-completion| with "fuzzy" item for 'completeopt'
Support for |fuzzy-matching| during |ins-completion| with the "fuzzy" and
"fuzzycollect" values of the 'completeopt' setting
==============================================================================
COMPILE TIME CHANGES *compile-changes-9.2*
@@ -41643,6 +41644,8 @@ Support for building with Ruby 3.3.
Support for building Vim 9 in z/OS (MVS).
Clean-up old MS-Windows code.
==============================================================================
PATCHES *patches-9.2* *bug-fixes-9.2*
*patches-after-9.1*