don't show "no matching" on cursor move

This commit is contained in:
LenAnderson
2024-03-31 07:50:15 -04:00
parent f4e38c7cd1
commit d4a6a7f55f

View File

@ -2091,6 +2091,9 @@ export function setNewSlashCommandAutoComplete(textarea, isFloating = false) {
// add notice if no match found
if (result.length == 0) {
if (!isInput) {
return hide();
}
result.push({
name: '',
label: `No matching commands for "/${slashCommand}"`,