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:
Conrad Irwin 2024-10-25 16:47:44 -06:00 committed by GitHub
parent 98d2e5fe73
commit 78ed0c9312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 16 deletions

View 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"}}