vim: Fix gv after indent/toggle comments (#17986)
Release Notes: - vim: Fixed `gv` after > and < in visual mode
This commit is contained in:
parent
3ac201e448
commit
1a62396b1e
5 changed files with 107 additions and 71 deletions
8
crates/vim/test_data/test_indent_gv.json
Normal file
8
crates/vim/test_data/test_indent_gv.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{"SetOption":{"value":"shiftwidth=4"}}
|
||||
{"Put":{"state":"ˇhello\nworld\n"}}
|
||||
{"Key":"v"}
|
||||
{"Key":"j"}
|
||||
{"Key":">"}
|
||||
{"Key":"g"}
|
||||
{"Key":"v"}
|
||||
{"Get":{"state":"« hello\n ˇ» world\n","mode":"Visual"}}
|
Loading…
Add table
Add a link
Reference in a new issue