remove code

This commit is contained in:
pap
2025-08-09 16:36:57 +01:00
parent b45b547f8a
commit e93ca9fa11

View File

@@ -626,12 +626,6 @@ impl ChatComposer {
self.textarea.input(input);
let text_after = self.textarea.text();
// Start/continue an explicit file-search session when the cursor is on an @token.
if Self::current_at_token(&self.textarea).is_some() {
// Allow popup to show for this token.
self.dismissed_file_popup_token = None;
}
// Check if any placeholders were removed and remove their corresponding pending pastes
self.pending_pastes
.retain(|(placeholder, _)| text_after.contains(placeholder));