diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-20 21:14:18 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-21 01:16:31 -0400 |
commit | 3c28d756525d079a6e3a65c0fa9564a0002357fe (patch) | |
tree | d39fa31fc805815252dbb0a22f3a55b629c6a5f8 /src/nvim/spell.c | |
parent | 0e8ee37efdc97fd6c7226ec3563caf93e89e71eb (diff) | |
download | rneovim-3c28d756525d079a6e3a65c0fa9564a0002357fe.tar.gz rneovim-3c28d756525d079a6e3a65c0fa9564a0002357fe.tar.bz2 rneovim-3c28d756525d079a6e3a65c0fa9564a0002357fe.zip |
vim-patch:8.1.1124: insert completion flags are mixed up
Problem: Insert completion flags are mixed up.
Solution: Clean up flags use of ins_compl_add() and cp_flags.
https://github.com/vim/vim/commit/d9eefe3155277cec71105f52d34a76f7a3237e7f
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 8d800843f8..40bb882948 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -7332,7 +7332,7 @@ static void dump_word(slang_T *slang, char_u *word, char_u *pat, int *dir, int d ? mb_strnicmp(p, pat, STRLEN(pat)) == 0 : STRNCMP(p, pat, STRLEN(pat)) == 0) && ins_compl_add_infercase(p, (int)STRLEN(p), - p_ic, NULL, *dir, 0) == OK) { + p_ic, NULL, *dir, false) == OK) { // if dir was BACKWARD then honor it just once *dir = FORWARD; } |