Support snake case autocompletion

Fixes #1655
This commit is contained in:
Zachary Yedidia 2020-05-14 21:34:17 -04:00
parent 55e97596d3
commit ddf70953fe

View file

@ -416,7 +416,7 @@ func Clamp(val, min, max int) int {
} }
func IsNonAlphaNumeric(c rune) bool { func IsNonAlphaNumeric(c rune) bool {
return !unicode.IsLetter(c) && !unicode.IsNumber(c) return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '_'
} }
func ParseSpecial(s string) string { func ParseSpecial(s string) string {