Mercurial > vim
comparison runtime/doc/builtin.txt @ 28831:b5c46d447518 v8.2.4939
patch 8.2.4939: matchfuzzypos() with "matchseq" does not have all positions
Commit: https://github.com/vim/vim/commit/9af2bc075169e14fd06ed967d28eac7206d21f36
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed May 11 14:15:37 2022 +0100
patch 8.2.4939: matchfuzzypos() with "matchseq" does not have all positions
Problem: matchfuzzypos() with "matchseq" does not have all positions.
Solution: Also add a position for white space. (closes https://github.com/vim/vim/issues/10404)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 11 May 2022 15:30:03 +0200 |
parents | 1ad71fcbf546 |
children | cd68a630f0d0 |
comparison
equal
deleted
inserted
replaced
28830:405c5cf665b0 | 28831:b5c46d447518 |
---|---|
5680 the strings in {list} that fuzzy match {str}. The strings in | 5680 the strings in {list} that fuzzy match {str}. The strings in |
5681 the returned list are sorted based on the matching score. | 5681 the returned list are sorted based on the matching score. |
5682 | 5682 |
5683 The optional {dict} argument always supports the following | 5683 The optional {dict} argument always supports the following |
5684 items: | 5684 items: |
5685 matchseq When this item is present and {str} contains | 5685 matchseq When this item is present return only matches |
5686 multiple words separated by white space, then | 5686 that contain the characters in {str} in the |
5687 returns only matches that contain the words in | 5687 given sequence. |
5688 the given sequence. | |
5689 | 5688 |
5690 If {list} is a list of dictionaries, then the optional {dict} | 5689 If {list} is a list of dictionaries, then the optional {dict} |
5691 argument supports the following additional items: | 5690 argument supports the following additional items: |
5692 key Key of the item which is fuzzy matched against | 5691 key Key of the item which is fuzzy matched against |
5693 {str}. The value of this item should be a | 5692 {str}. The value of this item should be a |