aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/optionstr.c
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-20 00:18:15 +0000
committerzeertzjq <zeertzjq@outlook.com>2023-01-17 14:01:10 +0800
commit6734dd250355f8621a710d59c2089b38a65dbf18 (patch)
tree3d4cd1a386cd9f56b1a4f42db3ea8a9ea2bbe809 /src/nvim/optionstr.c
parent34e62d387509bb3eec9aafdd9b35a6d832cfd10f (diff)
downloadrneovim-6734dd250355f8621a710d59c2089b38a65dbf18.tar.gz
rneovim-6734dd250355f8621a710d59c2089b38a65dbf18.tar.bz2
rneovim-6734dd250355f8621a710d59c2089b38a65dbf18.zip
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) https://github.com/vim/vim/commit/38b85cb4d7216705058708bacbc25ab90cd61595 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>
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r--src/nvim/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index 86fd5c9404..a1a5cadd8d 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -91,7 +91,7 @@ static char *(p_swb_values[]) = { "useopen", "usetab", "split", "newtab", "vspli
static char *(p_spk_values[]) = { "cursor", "screen", "topline", NULL };
static char *(p_tc_values[]) = { "followic", "ignore", "match", "followscs", "smart", NULL };
static char *(p_ve_values[]) = { "block", "insert", "all", "onemore", "none", "NONE", NULL };
-static char *(p_wop_values[]) = { "tagfile", "pum", NULL };
+static char *(p_wop_values[]) = { "tagfile", "pum", "fuzzy", NULL };
static char *(p_wak_values[]) = { "yes", "menu", "no", NULL };
static char *(p_mousem_values[]) = { "extend", "popup", "popup_setpos", "mac", NULL };
static char *(p_sel_values[]) = { "inclusive", "exclusive", "old", NULL };