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)
diff --git a/src/vim.h b/src/vim.h
index 844627d..ead0c56 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2457,6 +2457,7 @@
// 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 @@
#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