mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
vim-patch:8.2.2234: command line wildmenu test often fails with Unix GUI
Problem: Command line wildmenu test often fails with Unix GUI. Solution: Skip the test where it is expected to fail.3e112acc22
Include modeline fix for ASAN build. N/A patches for version.c: vim-patch:8.2.1785: compiler warning for strcp() out of bounds Problem: Compiler warning for strcp() out of bounds. (Christian Brabandt) Solution: use memmove() instead.3f974ff45e
vim-patch:8.2.2235: build failure with some Ruby versions Problem: Build failure with some Ruby versions. Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes vim/vim#7564)dace9f785f
vim-patch:8.2.2237: CI on Mac fails in sed command Problem: CI on Mac fails in sed command. Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes vim/vim#7565)ed1e4c9a70
vim-patch:8.2.2241: Build with Ruby and clang may fail Problem: Build with Ruby and clang may fail. Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes vim/vim#7566)864a28b6a6
This commit is contained in:
@@ -51,18 +51,21 @@ func Test_complete_wildmenu()
|
||||
call feedkeys(":e Xdir1/\<Tab>\<Down>\<Up>\<Right>\<CR>", 'tx')
|
||||
call assert_equal('testfile1', getline(1))
|
||||
|
||||
+ " <C-J>/<C-K> mappings to go up/down directories when 'wildcharm' is
|
||||
" different than 'wildchar'.
|
||||
set wildcharm=<C-Z>
|
||||
cnoremap <C-J> <Down><C-Z>
|
||||
cnoremap <C-K> <Up><C-Z>
|
||||
call feedkeys(":e Xdir1/\<Tab>\<C-J>\<CR>", 'tx')
|
||||
call assert_equal('testfile3', getline(1))
|
||||
call feedkeys(":e Xdir1/\<Tab>\<C-J>\<C-K>\<CR>", 'tx')
|
||||
call assert_equal('testfile1', getline(1))
|
||||
set wildcharm=0
|
||||
cunmap <C-J>
|
||||
cunmap <C-K>
|
||||
" this fails in some Unix GUIs, not sure why
|
||||
if !has('unix') || !has('gui_running')
|
||||
" <C-J>/<C-K> mappings to go up/down directories when 'wildcharm' is
|
||||
" different than 'wildchar'.
|
||||
set wildcharm=<C-Z>
|
||||
cnoremap <C-J> <Down><C-Z>
|
||||
cnoremap <C-K> <Up><C-Z>
|
||||
call feedkeys(":e Xdir1/\<Tab>\<C-J>\<CR>", 'tx')
|
||||
call assert_equal('testfile3', getline(1))
|
||||
call feedkeys(":e Xdir1/\<Tab>\<C-J>\<C-K>\<CR>", 'tx')
|
||||
call assert_equal('testfile1', getline(1))
|
||||
set wildcharm=0
|
||||
cunmap <C-J>
|
||||
cunmap <C-K>
|
||||
endif
|
||||
|
||||
" cleanup
|
||||
%bwipe
|
||||
@@ -1001,4 +1004,4 @@ func Test_read_shellcmd()
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab " vim: shiftwidth=2 sts=2 expandtab
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
Reference in New Issue
Block a user