diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-04-26 21:17:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-26 21:17:52 +0200 |
commit | bb01a1ef3a093cdb36877ba73474719c531dc8cb (patch) | |
tree | 46d75e2ab284ea6e579e7066edbd3315293f8add /src/vim.h | |
parent | 5930ddcd25c3c31a323cdb1b74c228958e124527 (diff) |
patch 8.2.2813: cannot grep using fuzzy matchingv8.2.2813
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |