Hi Christian! 2015-11-20(Fri) 6:37:46 UTC+9 Christian Brabandt: > Hi Bram! > > On Do, 19 Nov 2015, Bram Moolenaar wrote: > > > > > Patch 7.4.926 > > Problem: Completing the longest match doesn't work properly with > > multi-byte > > characters. > > Solution: When using multi-byte characters use another way to find the > > longest match. (Hirohito Higashi) > > Files: src/ex_getln.c, src/testdir/test_utf8.in, > > src/testdir/test_utf8.ok > > This breaks appveyor: > https://ci.appveyor.com/project/chrisbra/vim/build/75
Thanks for reporting! This breaks may be fixed by attached patch. Please confirm a patch. -- Best Regards, Hitohiro Higashi (a.k.a h_east) -- -- 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 "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
diff -r 8896150aba23 src/testdir/test_utf8.in --- a/src/testdir/test_utf8.in Thu Nov 19 20:45:05 2015 +0100 +++ b/src/testdir/test_utf8.in Fri Nov 20 09:47:11 2015 +0900 @@ -21,19 +21,19 @@ :function! CustomComplete1(lead, line, pos) : return ['あ', 'い'] :endfunction -:command -nargs=1 -complete=customlist,CustomComplete1 Test1 : +:command -nargs=1 -complete=customlist,CustomComplete1 Test1 :call feedkeys(":Test1 \<C-L>'\<C-B>$put='\<CR>", 't') : :function! CustomComplete2(lead, line, pos) : return ['あたし', 'あたま', 'あたりめ'] :endfunction -:command -nargs=1 -complete=customlist,CustomComplete2 Test2 : +:command -nargs=1 -complete=customlist,CustomComplete2 Test2 :call feedkeys(":Test2 \<C-L>'\<C-B>$put='\<CR>", 't') : :function! CustomComplete3(lead, line, pos) : return ['Nこ', 'Nん', 'Nぶ'] :endfunction -:command -nargs=1 -complete=customlist,CustomComplete3 Test3 : +:command -nargs=1 -complete=customlist,CustomComplete3 Test3 :call feedkeys(":Test3 \<C-L>'\<C-B>$put='\<CR>", 't') : :call garbagecollect(1)