Mercurial > vim
diff src/testdir/test_vim9_cmd.vim @ 25485:7d24fdd18672 v8.2.3279
patch 8.2.3279: Vim9: cannot use block in cmdline window
Commit: https://github.com/vim/vim/commit/2c70711e3fb2ef24a7f55322fdadbf7f9e657c2f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 2 22:26:56 2021 +0200
patch 8.2.3279: Vim9: cannot use block in cmdline window
Problem: Vim9: cannot use block in cmdline window.
Solution: Add EX_CMDWIN to the CMD_block flags. (closes https://github.com/vim/vim/issues/8689)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 02 Aug 2021 22:30:04 +0200 |
parents | 7124992f26ef |
children | 9f691e8a74e3 |
line wrap: on
line diff
--- a/src/testdir/test_vim9_cmd.vim +++ b/src/testdir/test_vim9_cmd.vim @@ -1262,7 +1262,7 @@ def Test_substitute_expr() # List results in multiple lines new setline(1, 'some text here') - s/text/\=['aaa', 'bbb', 'ccc']/ + s/text/\=['aaa', 'bbb', 'ccc']/ assert_equal(['some aaa', 'bbb', 'ccc', ' here'], getline(1, '$')) bwipe! enddef @@ -1338,5 +1338,18 @@ def Test_echo_void() CheckScriptFailure(lines, 'E1186:', 1) enddef +def Test_cmdwin_block() + augroup justTesting + autocmd BufEnter * { + echomsg 'in block' + } + augroup END + feedkeys('q:', 'xt') + redraw + feedkeys("aclose\<CR>", 'xt') + + au! justTesting +enddef + " vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker