diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-02-24 13:28:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-24 13:28:41 +0000 |
commit | 38b85cb4d7216705058708bacbc25ab90cd61595 (patch) | |
tree | 3eb078ed612a835d9d6eecf7e3a4b84f209f1618 /runtime | |
parent | 9c9be05b17ececb1515a2f41a4dedbf848d3d8b6 (diff) | |
download | vim-git-38b85cb4d7216705058708bacbc25ab90cd61595.tar.gz |
patch 8.2.4463: completion only uses strict matchingv8.2.4463
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes #9803)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 3f7756203..c8b40ec04 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -9087,6 +9087,14 @@ A jump table for the options with a short description can be found at |Q_op|. feature} A list of words that change how |cmdline-completion| is done. The following values are supported: + fuzzy Use fuzzy matching to find completion matches. When + this value is specified, wildcard expansion will not + be used for completion. The matches will be sorted by + the "best match" rather than alphabetically sorted. + This will find more matches than the wildcard + expansion. Currently fuzzy matching based completion + is not supported for file and directory names and + instead wildcard expansion is used. pum Display the completion matches using the popupmenu in the same style as the |ins-completion-menu|. tagfile When using CTRL-D to list matching tags, the kind of |