Merge pull request #420 from shinich39/feature/tags

Autocomplete bug fix
This commit is contained in:
pythongosssss
2025-01-14 22:51:00 +00:00
committed by GitHub
-3
View File
@@ -621,9 +621,6 @@ export class TextAreaAutoComplete {
value = TextAreaAutoComplete.replacer(value);
}
value = this.#escapeParentheses(value);
// Remove underscore
value = value.replace(/_/g, " ");
const afterCursor = this.helper.getAfterCursor();
const shouldAddSeparator = !afterCursor.trim().startsWith(this.separator.trim());