vim: Fix space
not handling non-ascii characters (#27053)
Closes #26806 Changes: Clips the new point with `Bias::Right` like in `saturating_right` Release Notes: - vim: Fixed `space` not handling non-ascii characters
This commit is contained in:
parent
ac5dafc6b2
commit
84a8d48178
2 changed files with 14 additions and 0 deletions
4
crates/vim/test_data/test_space_non_ascii.json
Normal file
4
crates/vim/test_data/test_space_non_ascii.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{"Put":{"state":"ˇπππππ"}}
|
||||
{"Key":"3"}
|
||||
{"Key":"space"}
|
||||
{"Get":{"state":"πππˇππ","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue