File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -894,7 +894,8 @@ module.exports = grammar({
894894 // Some symbols in Sm and So unicode categories that are identifiers
895895 const validMathSymbols = '°∀-∇∎-∑∫-∳' ;
896896
897- const start = `[_\\p{XID_Start}${ validMathSymbols } \\p{Emoji}&&[^0-9#*]]` ;
897+ // Emojis are currently not supported because they double the parser size
898+ const start = `[_\\p{XID_Start}${ validMathSymbols } &&[^0-9#*]]` ;
898899 const rest = `[^"'\`\\s\\.\\-\\[\\]${ nonIdentifierCharacters } ]*` ;
899900 return new RegExp ( start + rest ) ;
900901 } ,
Original file line number Diff line number Diff line change 1111logŷ
1212ϵ
1313ŷ
14- 🙋
15- 🦀
1614
1715---
1816
2725 (identifier)
2826 (identifier)
2927 (identifier)
30- (identifier)
31- (identifier)
3228 (identifier))
3329
3430
You can’t perform that action at this time.
0 commit comments