mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
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:
@@ -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,
|
||||||
|
@@ -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([[
|
||||||
|
Reference in New Issue
Block a user