vim-patch:7.4.932

Problem:    test_utf8 has confusing dummy command.
Solution:   Use a real command instead of a colon.

8f08dab18d
This commit is contained in:
watiko
2016-02-16 00:17:07 +09:00
parent 3680332325
commit 4f3ea0379e
2 changed files with 4 additions and 4 deletions

View File

@@ -356,7 +356,7 @@ static int included_patches[] = {
// 935, // 935,
// 934 NA // 934 NA
// 933, // 933,
// 932, 932,
// 931 NA // 931 NA
// 930 NA // 930 NA
929, 929,

View File

@@ -57,21 +57,21 @@ describe('utf8', function()
function! CustomComplete1(lead, line, pos) function! CustomComplete1(lead, line, pos)
return ['あ', 'い'] return ['あ', 'い']
endfunction endfunction
command -nargs=1 -complete=customlist,CustomComplete1 Test1 :]]) command -nargs=1 -complete=customlist,CustomComplete1 Test1 echo]])
feed(":Test1 <C-L>'<C-B>$put='<CR>") feed(":Test1 <C-L>'<C-B>$put='<CR>")
source([[ source([[
function! CustomComplete2(lead, line, pos) function! CustomComplete2(lead, line, pos)
return ['あたし', 'あたま', 'あたりめ'] return ['あたし', 'あたま', 'あたりめ']
endfunction endfunction
command -nargs=1 -complete=customlist,CustomComplete2 Test2 :]]) command -nargs=1 -complete=customlist,CustomComplete2 Test2 echo]])
feed(":Test2 <C-L>'<C-B>$put='<CR>") feed(":Test2 <C-L>'<C-B>$put='<CR>")
source([[ source([[
function! CustomComplete3(lead, line, pos) function! CustomComplete3(lead, line, pos)
return ['Nこ', 'Nん', 'Nぶ'] return ['Nこ', 'Nん', 'Nぶ']
endfunction endfunction
command -nargs=1 -complete=customlist,CustomComplete3 Test3 :]]) command -nargs=1 -complete=customlist,CustomComplete3 Test3 echo]])
feed(":Test3 <C-L>'<C-B>$put='<CR>") feed(":Test3 <C-L>'<C-B>$put='<CR>")
expect([[ expect([[