aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2016-11-16 01:59:55 +0900
committerJustin M. Keyes <justinkz@gmail.com>2016-11-15 17:59:55 +0100
commitc69cfd7d1c12fa895961289c7b2fcbeccff5a739 (patch)
tree80274c8d7b89d488cd75f8a6d3db49a2fc2938ec /src/nvim/spell.c
parent10c72cd3658e17aafa41b5752c23d97df88fc71f (diff)
downloadrneovim-c69cfd7d1c12fa895961289c7b2fcbeccff5a739.tar.gz
rneovim-c69cfd7d1c12fa895961289c7b2fcbeccff5a739.tar.bz2
rneovim-c69cfd7d1c12fa895961289c7b2fcbeccff5a739.zip
vim-patch:8.0.0035 (#5609)
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes vim/vim#1168) https://github.com/vim/vim/commit/472e85970ee3a80abd824bef510df12e9cfe9e96
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index d9cdce8ca4..7119ac6dc1 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -13160,7 +13160,7 @@ spell_dump_compl (
// Done all bytes at this node, go up one level.
--depth;
line_breakcheck();
- ins_compl_check_keys(50);
+ ins_compl_check_keys(50, false);
} else {
// Do one more byte at this node.
n = arridx[depth] + curi[depth];