Updated new vim tests with new rope crate

This commit is contained in:
Mikayla Maki 2022-10-11 20:25:39 -07:00
parent 41590ef64b
commit b1f64d9550
5 changed files with 190 additions and 82 deletions

View file

@ -51,7 +51,7 @@ impl<'a> NeovimBackedTestContext<'a> {
pub async fn set_shared_state(&mut self, marked_text: &str) -> ContextHandle {
let context_handle = self.set_state(marked_text, Mode::Normal);
let selection = self.editor(|editor, cx| editor.selections.newest::<language::Point>(cx));
let selection = self.editor(|editor, cx| editor.selections.newest::<rope::point::Point>(cx));
let text = self.buffer_text();
self.neovim.set_state(selection, &text).await;