Skip to content

Commit 8b459a2

Browse files
committed
improve comment
1 parent 0dc10e8 commit 8b459a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/features/comp/TextExpander.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export function initTextExpander(expander: TextExpanderElement) {
6060
};
6161

6262
const debouncedIssueSuggestions = debounce(async (key: string, text: string): Promise<TextExpanderProvideResult> => {
63+
// https://github.com/github/text-expander-element/issues/71
6364
// Upstream bug: when using "multiword+promise", TextExpander will get wrong "key" position.
6465
// To reproduce, comment out the "shouldShowIssueSuggestions" check, use the "await sleep" below,
6566
// then use content "close #20\nclose #20\close #20", keep changing the last line `#20` part from the end (including removing the `#`)

0 commit comments

Comments
 (0)