diff runtime/doc/builtin.txt @ 28166:130f4082a13d

patch 8.2.4608: getcompletion() does not work when 'wildoptions' has "fuzzy" Commit: https://github.com/vim/vim/commit/e7dd0fa2c61fe71f12c72b0dcb7bb6415eb048fb Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Mar 22 16:06:31 2022 +0000 patch 8.2.4608: getcompletion() does not work when 'wildoptions' has "fuzzy" Problem: getcompletion() does not work properly when 'wildoptions contains "fuzzy". Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992, closes #9986)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Mar 2022 18:15:03 +0100
parents dce918af0c00
children 2b595cee4c85
line wrap: on
line diff
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -3273,6 +3273,10 @@ getcompletion({pat}, {type} [, {filtered
 		is applied to filter the results.  Otherwise all the matches
 		are returned. The 'wildignorecase' option always applies.
 
+		If the 'wildoptions' option contains 'fuzzy', then fuzzy
+		matching is used to get the completion matches. Otherwise
+		regular expression matching is used.
+
 		If {type} is "cmdline", then the |cmdline-completion| result is
 		returned.  For example, to complete the possible values after
 		a ":call" command: >