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
co-authored by Kurt Wolf
parent 98d2e5fe73
commit 78ed0c9312
5 changed files with 73 additions and 16 deletions
@@ -123,6 +123,7 @@ impl EditorLspTestContext {
path_suffixes: vec!["rs".to_string()],
..Default::default()
},
line_comments: vec!["// ".into(), "/// ".into(), "//! ".into()],
..Default::default()
},
Some(tree_sitter_rust::LANGUAGE.into()),