On Monday, October 17, 2016 at 5:06:47 PM UTC-4, Tommy A wrote:
> Thanks again, Bram! There is one (hopefully last) issue. This works
> perfectly when using `<up>` and `<down>`, but the problem remains the same
> when `<c-n>` and `<c-p>` are used.
It looks like adding `(void)stop_arrow()` on line 1431 of edit.c fixes it.
Does that look right?
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.
>From 22b0ca189295922480f2cd932bf26746ebb01c9e Mon Sep 17 00:00:00 2001
From: Tommy Allen <to...@esdf.io>
Date: Mon, 17 Oct 2016 17:41:31 -0400
Subject: [PATCH] Fix completion undo when using Ctrl_N and Ctrl_P
src/edit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/edit.c b/src/edit.c
index 776a420..753000c 100644
@@ -1428,6 +1428,7 @@ doESCkey:
compl_busy = TRUE;
disable_fold_update++; /* don't redraw folds here */
if (ins_complete(c, TRUE) == FAIL)