vim: Copy comment to new lines with o/O (#19766)
Co-Authored-By: Kurt Wolf <kurtwolfbuilds@gmail.com> Closes: #4691 Closes #ISSUE Release Notes: - vim: o/O now respect `extend_comment_on_newline`
This commit is contained in:
parent
98d2e5fe73
commit
78ed0c9312
5 changed files with 73 additions and 16 deletions
8
crates/vim/test_data/test_o_comment.json
Normal file
8
crates/vim/test_data/test_o_comment.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{"SetOption":{"value":"filetype=rust"}}
|
||||
{"Put":{"state":"// helloˇ\n"}}
|
||||
{"Key":"o"}
|
||||
{"Get":{"state":"// hello\n// ˇ\n","mode":"Insert"}}
|
||||
{"Key":"x"}
|
||||
{"Key":"escape"}
|
||||
{"Key":"shift-o"}
|
||||
{"Get":{"state":"// hello\n// ˇ\n// x\n","mode":"Insert"}}
|
Loading…
Add table
Add a link
Reference in a new issue