This commit is contained in:
Nathan Sobo 2023-05-23 00:22:21 -06:00
parent 234dbc3ca9
commit 0de5a444d3
2 changed files with 8 additions and 0 deletions

View file

@ -119,6 +119,12 @@ fn assist(
* Distillation policies
* Budgets
<
*Only* respond to a mention if either
a) The mention is at the end of the document.
b) The user's selection intersects the mention.
If no response is appropriate based on these conditions, respond with ><.
"#};
let selections = editor.selections.all(cx);