mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2813: cannot grep using fuzzy matching
Problem: Cannot grep using fuzzy matching. Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
This commit is contained in:
committed by
Bram Moolenaar
parent
5930ddcd25
commit
bb01a1ef3a
@@ -2457,6 +2457,7 @@ typedef enum {
|
||||
// flags for skip_vimgrep_pat()
|
||||
#define VGR_GLOBAL 1
|
||||
#define VGR_NOJUMP 2
|
||||
#define VGR_FUZZY 4
|
||||
|
||||
// behavior for bad character, "++bad=" argument
|
||||
#define BAD_REPLACE '?' // replace it with '?' (default)
|
||||
@@ -2711,4 +2712,7 @@ long elapsed(DWORD start_tick);
|
||||
#define EVAL_VAR_NOAUTOLOAD 2 // do not use script autoloading
|
||||
#define EVAL_VAR_IMPORT 4 // may return special variable for import
|
||||
|
||||
// Maximum number of characters that can be fuzzy matched
|
||||
#define MAX_FUZZY_MATCHES 256
|
||||
|
||||
#endif // VIM__H
|
||||
|
Reference in New Issue
Block a user