diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-18 08:33:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 08:33:08 +0800 |
commit | e1ca7a7bfc954fae6991fc86d5da1a4eda864903 (patch) | |
tree | 26998b867ed1fc2fb12a1e436ecd1fe3ea9dcb67 /test/functional/ui/messages_spec.lua | |
parent | 562719033ec8bec9f6d56c166b9aef13f8a50a96 (diff) | |
download | rneovim-e1ca7a7bfc954fae6991fc86d5da1a4eda864903.tar.gz rneovim-e1ca7a7bfc954fae6991fc86d5da1a4eda864903.tar.bz2 rneovim-e1ca7a7bfc954fae6991fc86d5da1a4eda864903.zip |
test: 'showcmd' with ext_messages and Visual selection (#28393)
Also slightly reorder some code to make comments look less out-of-place.
Diffstat (limited to 'test/functional/ui/messages_spec.lua')
-rw-r--r-- | test/functional/ui/messages_spec.lua | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua index e4daf3b546..9fa700c104 100644 --- a/test/functional/ui/messages_spec.lua +++ b/test/functional/ui/messages_spec.lua @@ -685,7 +685,18 @@ describe('ui/ext_messages', function() ]], ruler = { { '2,1 All' } }, } - feed('d') + feed('<c-v>k2l') + screen:expect({ + grid = [[ + {17:ab}^cde | + {17:123}45 | + {1:~ }|*3 + ]], + showmode = { { '-- VISUAL BLOCK --', 5 } }, + showcmd = { { '2x3' } }, + ruler = { { '1,3 All' } }, + }) + feed('o<esc>d') screen:expect { grid = [[ abcde | |