aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-21 10:19:01 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-03-22 18:42:17 +0100
commit4c18670e91e22ab4fe566aa181aa6f28166e8aad (patch)
treea4a8f31700b33c8e7d9a7abba740ba9aa56bb1be /src
parent6a8bad03084c58d531e48b3d7f7f87f305f150d8 (diff)
downloadrneovim-4c18670e91e22ab4fe566aa181aa6f28166e8aad.tar.gz
rneovim-4c18670e91e22ab4fe566aa181aa6f28166e8aad.tar.bz2
rneovim-4c18670e91e22ab4fe566aa181aa6f28166e8aad.zip
vim-patch:7.4.2346
Problem: Autocommand test fails when run directly, passes when run as part of test_alot. Solution: Add command to make the cursor move. Close a tab page.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_autocmd.vim3
-rw-r--r--src/nvim/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index ace9e457bb..34cca5f612 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -23,6 +23,9 @@ if has('timers')
endfunc
func Test_cursorhold_insert()
+ " Need to move the cursor.
+ call feedkeys("ggG", "xt")
+
let g:triggered = 0
au CursorHoldI * let g:triggered += 1
set updatetime=20
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 8ae5e4057e..21f3a493c3 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -95,7 +95,7 @@ static int included_patches[] = {
// 2349,
2348,
2347,
- // 2346,
+ 2346,
// 2345 NA
// 2344 NA
// 2343,