vim-patch:7.4.614

Problem:    There is no test for what patch 7.4.601 fixes.
Solution:   Add a test. (Christian Brabandt)

d7ce7a9ad2
This commit is contained in:
watiko
2016-01-14 12:19:15 +09:00
parent 62f1aaedb1
commit b1b8759fc3
2 changed files with 18 additions and 1 deletions

View File

@@ -510,7 +510,7 @@ static int included_patches[] = {
617,
// 616,
615,
// 614,
614,
// 613,
612,
// 611 NA

View File

@@ -84,6 +84,23 @@ describe('mapping', function()
+]])
end)
it('feedkeys', function()
insert([[
a b c d
a b c d
]])
-- Vim's issue #212 (feedkeys insert mapping at current position)
execute('nnoremap . :call feedkeys(".", "in")<cr>')
feed('/^a b<cr>')
feed('0qqdw.ifoo<esc>qj0@q<esc>')
execute('unmap .')
expect([[
fooc d
fooc d
]])
end)
it('i_CTRL-G_U', function()
-- <c-g>U<cursor> works only within a single line
execute('imapclear')