agent: Add a whitespace after inserting @-mention to allow for continuous typing (#30381)
Release Notes: - agent: Added a space after @-mentioning something in the message editor to allow for continuous typing. --------- Co-authored-by: Peter Tripp <peter@zed.dev> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
parent
e78b726ed8
commit
7497deff7a
2 changed files with 25 additions and 21 deletions
|
@ -766,6 +766,7 @@ pub(crate) fn insert_crease_for_mention(
|
|||
|
||||
let ids = editor.insert_creases(vec![crease.clone()], cx);
|
||||
editor.fold_creases(vec![crease], false, window, cx);
|
||||
|
||||
Some(ids[0])
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue