mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
vim-patch:8.2.4463: completion only uses strict matching
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes vim/vim#9803)
38b85cb4d7
Use MAX_FUZZY_MATCHES in fuzzy_match_str().
Omit fuzmatch_str_free() as it is only used on allocation failure.
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -795,6 +795,7 @@ EXTERN char *p_wop; // 'wildoptions'
|
||||
EXTERN unsigned wop_flags;
|
||||
#define WOP_TAGFILE 0x01
|
||||
#define WOP_PUM 0x02
|
||||
#define WOP_FUZZY 0x04
|
||||
EXTERN long p_window; // 'window'
|
||||
EXTERN char *p_wak; // 'winaltkeys'
|
||||
EXTERN char *p_wig; // 'wildignore'
|
||||
|
Reference in New Issue
Block a user