From 990414dc343fa382cdf832c04cc5eb72feb6113a Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 12 Aug 2010 07:40:07 -0400 Subject: [PATCH] add hilighting for classes and functions --HG-- branch : pmacs2 --- mode/scala.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mode/scala.py b/mode/scala.py index d8a4ad3..b6d3ebf 100644 --- a/mode/scala.py +++ b/mode/scala.py @@ -33,6 +33,10 @@ class ScalaGrammar(Grammar): PatternRule('delimiter', r'(?:;|{|}|\[|\]|\(|\)|,|\.|<|>|:|/|\+|-|\*|=)'), + PatternRule('scala.def', '(?<=(?