Fix vim panic when over-shooting with j
This commit is contained in:
parent
4331cb8058
commit
8de67fd9d9
3 changed files with 33 additions and 1 deletions
12
crates/vim/test_data/test_folds_panic.json
Normal file
12
crates/vim/test_data/test_folds_panic.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{"SetOption":{"value":"foldmethod=manual"}}
|
||||
{"Put":{"state":"fn boop() {\n ˇbarp()\n bazp()\n}\n"}}
|
||||
{"Key":"shift-v"}
|
||||
{"Key":"j"}
|
||||
{"Key":"z"}
|
||||
{"Key":"f"}
|
||||
{"Key":"escape"}
|
||||
{"Key":"g"}
|
||||
{"Key":"g"}
|
||||
{"Key":"5"}
|
||||
{"Key":"d"}
|
||||
{"Key":"j"}
|
Loading…
Add table
Add a link
Reference in a new issue