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',