Fix unicode completions in autocomplete.
Fixes vector-im/vector-web#2208
This commit is contained in:
parent
2b9258d377
commit
2913e4605f
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ export default class AutocompleteProvider {
|
|||
let commandRegex = this.commandRegex;
|
||||
|
||||
if (force && this.shouldForceComplete()) {
|
||||
commandRegex = /[^\W]+/g;
|
||||
commandRegex = /\S+/g;
|
||||
}
|
||||
|
||||
if (commandRegex == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue