Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

vim: Fix back quotes not recognized as object (#24999)

Yicheng Liu089ea5da50aa
diff --git a/crates/vim/src/object.rs b/crates/vim/src/object.rs
index 689763f8b42..7a7fcae0cfb 100644
--- a/crates/vim/src/object.rs
+++ b/crates/vim/src/object.rs
@@ -312,8 +312,8 @@ pub fn register(editor: &mut Editor, cx: &mut Context<Vim>) {
Vim::action(editor, cx, |vim, _: &AnyBrackets, window, cx| {
vim.object(Object::AnyBrackets, window, cx)
});
- Vim::action(editor, cx, |vim, _: &DoubleQuotes, window, cx| {
- vim.object(Object::DoubleQuotes, window, cx)
+ Vim::action(editor, cx, |vim, _: &BackQuotes, window, cx| {
+ vim.object(Object::BackQuotes, window, cx)
});
Vim::action(editor, cx, |vim, _: &DoubleQuotes, window, cx| {
vim.object(Object::DoubleQuotes, window, cx)