vim: Fix back quotes not recognized as object (#24999)
Currently back quotes ``` `` ``` not recognized as an object in vim mode, so ```c i ` ```, ```d i ` ``` not working. It seems to be a typo introduced in #22632 : The`DoubleQuotes` line was doubled while the `BackQuotes` line was missing. Release Notes: - vim: Fixed back quotes ``` `` ``` not recognized as object. Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
parent
b6e8db244c
commit
089ea5da50
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue