Introduce staff-only inline completion provider (#21739)
Release Notes: - N/A --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com> Co-authored-by: Bennet <bennet@zed.dev> Co-authored-by: Thorsten <thorsten@zed.dev>
This commit is contained in:
co-authored by
Thorsten Ball
Bennet
Thorsten
parent
39e8944dcc
commit
77b8296fbb
@@ -77,6 +77,7 @@ impl Vim {
|
||||
});
|
||||
vim.copy_selections_content(editor, motion.linewise(), cx);
|
||||
editor.insert("", cx);
|
||||
editor.refresh_inline_completion(true, false, cx);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -101,6 +102,7 @@ impl Vim {
|
||||
if objects_found {
|
||||
vim.copy_selections_content(editor, false, cx);
|
||||
editor.insert("", cx);
|
||||
editor.refresh_inline_completion(true, false, cx);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -72,6 +72,7 @@ impl Vim {
|
||||
selection.collapse_to(cursor, selection.goal)
|
||||
});
|
||||
});
|
||||
editor.refresh_inline_completion(true, false, cx);
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -151,6 +152,7 @@ impl Vim {
|
||||
selection.collapse_to(cursor, selection.goal)
|
||||
});
|
||||
});
|
||||
editor.refresh_inline_completion(true, false, cx);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user