Mercurial > vim
comparison src/testdir/test_ins_complete.vim @ 23748:93f90f2ff4e9 v8.2.2415
patch 8.2.2415: no way to check for the cmdwin feature
Commit: https://github.com/vim/vim/commit/21829c5f2c86cd525c8468121b4fc54c5d75bf6e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 26 22:42:21 2021 +0100
patch 8.2.2415: no way to check for the cmdwin feature
Problem: No way to check for the cmdwin feature, cmdline_hist is now always
enabled.
Solution: Add has('cmdwin') support. Skip arglist test on Windows
temporarily.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jan 2021 22:45:04 +0100 |
parents | 5e6855ebc4ea |
children | 704fdd4d0949 |
comparison
equal
deleted
inserted
replaced
23747:f0d11de94492 | 23748:93f90f2ff4e9 |
---|---|
341 bwipe! | 341 bwipe! |
342 set completeopt& | 342 set completeopt& |
343 endfunc | 343 endfunc |
344 | 344 |
345 func Test_compl_in_cmdwin() | 345 func Test_compl_in_cmdwin() |
346 CheckFeature cmdwin | |
347 | |
346 set wildmenu wildchar=<Tab> | 348 set wildmenu wildchar=<Tab> |
347 com! -nargs=1 -complete=command GetInput let input = <q-args> | 349 com! -nargs=1 -complete=command GetInput let input = <q-args> |
348 com! -buffer TestCommand echo 'TestCommand' | 350 com! -buffer TestCommand echo 'TestCommand' |
349 let w:test_winvar = 'winvar' | 351 let w:test_winvar = 'winvar' |
350 let b:test_bufvar = 'bufvar' | 352 let b:test_bufvar = 'bufvar' |