diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-18 13:43:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 13:43:02 +0800 |
commit | 966d55effe5cbfc3d779c89591a1bec4e9ac6639 (patch) | |
tree | c210dc14c8fcbd578ed543b83ec4a1b3e9e739e9 /runtime | |
parent | e651ae5864503d219134c7c0124bff6bd9a663f7 (diff) | |
download | rneovim-966d55effe5cbfc3d779c89591a1bec4e9ac6639.tar.gz rneovim-966d55effe5cbfc3d779c89591a1bec4e9ac6639.tar.bz2 rneovim-966d55effe5cbfc3d779c89591a1bec4e9ac6639.zip |
vim-patch:8.2.5116: "limit" option of matchfuzzy() not always respected (#19005)
Problem: "limit" option of matchfuzzy() not always respected.
Solution: Remove "else". (Kazuyuki Miyagi, closes vim/vim#10586)
https://github.com/vim/vim/commit/47f1a55849a73cefe738a246798221e45448546a
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 43c1f80fd6..54eac87070 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -5034,6 +5034,8 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()* 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: @@ -5045,8 +5047,6 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()* 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 |