File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,12 +495,16 @@ contexts:
495495# ##[ LITERALS ]################################################################
496496
497497 constants :
498- - match : (?:Infinity|NaN|undefined)\b
499- scope : constant.language.coffee
500498 - match : (?:true|on|yes)(?!\s*[:=])\b
501499 scope : constant.language.boolean.true.coffee
502500 - match : (?:false|off|no)(?!\s*[:=])\b
503501 scope : constant.language.boolean.false.coffee
502+ - match : Infinity(?!\s*[:=])\b
503+ scope : constant.language.infinity.coffee
504+ - match : NaN(?!\s*[:=])\b
505+ scope : constant.language.nan.coffee
506+ - match : undefined(?!\s*[:=])\b
507+ scope : constant.language.coffee
504508 - match : null(?!\s*[:=])\b
505509 scope : constant.language.null.coffee
506510
Original file line number Diff line number Diff line change @@ -604,8 +604,8 @@ class
604604### [ LITERALS ]### # ############################################################
605605
606606 Infinity NaN undefined .Infinity .NaN .undefined
607- # ^^^^^^^^ constant.language.coffee
608- # ^^^ constant.language.coffee
607+ # ^^^^^^^^ constant.language.infinity. coffee
608+ # ^^^ constant.language.nan. coffee
609609# ^^^^^^^^^ constant.language.coffee
610610# ^ punctuation.accessor.dot.coffee
611611# ^^^^^^^^ variable.other.member.coffee
You can’t perform that action at this time.
0 commit comments