diff runtime/doc/builtin.txt @ 29194:f92f658585e6 v8.2.5116

patch 8.2.5116: "limit" option of matchfuzzy() not always respected Commit: https://github.com/vim/vim/commit/47f1a55849a73cefe738a246798221e45448546a Author: Kazuyuki Miyagi <yuzu3886@gmail.com> Date: Fri Jun 17 18:30:03 2022 +0100 patch 8.2.5116: "limit" option of matchfuzzy() not always respected Problem: "limit" option of matchfuzzy() not always respected. Solution: Remove "else". (Kazuyuki Miyagi, closes https://github.com/vim/vim/issues/10586)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Jun 2022 19:45:02 +0200
parents 1e9e9d89f0ee
children 0eef32b4ebbc
line wrap: on
line diff
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5899,6 +5899,8 @@ matchfuzzy({list}, {str} [, {dict}])			*
 		    matchseq	When this item is present return only matches
 				that contain the characters in {str} in the
 				given sequence.
+		    limit	Maximum number of matches in {list} to be
+				returned.  Zero means no limit.
 
 		If {list} is a list of dictionaries, then the optional {dict}
 		argument supports the following additional items:
@@ -5910,8 +5912,6 @@ matchfuzzy({list}, {str} [, {dict}])			*
 				This should accept a dictionary item as the
 				argument and return the text for that item to
 				use for fuzzy matching.
-		    limit	Maximum number of matches in {list} to be
-				returned.  Zero means no limit.
 
 		{str} is treated as a literal string and regular expression
 		matching is NOT supported.  The maximum supported {str} length