zed/crates/vim/test_data/test_o_comment.json
Conrad Irwin 78ed0c9312
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`
2024-10-25 16:47:44 -06:00

8 lines
246 B
JSON

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