fix highlighting for true/false/null
--HG-- branch : pmacs2
This commit is contained in:
parent
220e032aa1
commit
23fa8d39a1
|
@ -70,7 +70,7 @@ class ScalaGrammar(Grammar):
|
|||
PatternRule('scala.object', '(?<=(?<![a-zA-Z0-9_])object )[a-zA-Z_][a-zA-Z0-9_]*'),
|
||||
PatternRule('scala.trait', '(?<=(?<![a-zA-Z0-9_])trait )[a-zA-Z_][a-zA-Z0-9_]*'),
|
||||
|
||||
PatternRule('scala.pseudo', '(?:true|null|false)'),
|
||||
PatternRule('scala.pseudo', '(?:true|null|false)(?!%s)' % word),
|
||||
|
||||
PatternRule('scala.reserved', '(?:yield|with|while|var|val|until|type|true|try|trait|throw|to|this|super|sealed|return|protected|private|package|override|object|null|new|match|lazy|import|implicit|if|forSome|for|finally|final|false|extends|else|do|def|class|catch|case|abstract)(?!%s)' % word),
|
||||
|
||||
|
|
Loading…
Reference in New Issue