From 3a32038d5f977c4f97532d72af2ca455c626073d Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Mon, 25 Oct 2010 10:55:57 -0400 Subject: [PATCH] hacky fix for nested generic types --HG-- branch : pmacs2 --- mode/scala.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/scala.py b/mode/scala.py index 4e418bc..3dd8c67 100644 --- a/mode/scala.py +++ b/mode/scala.py @@ -206,9 +206,9 @@ class Scala(Fundamental): grammar = ScalaGrammar commentc = '//' actions = [ScalaStart, ScalaDocBrowse, ScalaDocLookup] - opentokens = ('delimiter', 'sub.start') + opentokens = ('delimiter', 'sub.start', 'sub.sub.start', 'sub.sub.sub.start') opentags = {'(': ')', '[': ']', '{': '}'} - closetokens = ('delimiter', 'sub.end') + closetokens = ('delimiter', 'sub.end', 'sub.sub.end', 'sub.sub.sub.end') closetags = {')': '(', ']': '[', '}': '{'} config = { 'scala.api': 'http://www.scala-lang.org/api/current/allclasses.html',