Autocomplete for any non-whitespace

This commit is contained in:
Zachary Yedidia
2020-08-30 15:44:19 -04:00
parent 188b579b22
commit 38f63ae432
2 changed files with 9 additions and 9 deletions

View File

@@ -423,7 +423,7 @@ func IsNonAlphaNumeric(c rune) bool {
}
func IsAutocomplete(c rune) bool {
return c == '.' || !IsNonAlphaNumeric(c)
return !unicode.IsSpace(c) || !IsNonAlphaNumeric(c)
}
func ParseSpecial(s string) string {