From d5021cd868179bf998fb73739f79e3b72ad867ca Mon Sep 17 00:00:00 2001 From: moculus Date: Sun, 21 Oct 2007 04:51:45 +0000 Subject: [PATCH] css mode tag matching --HG-- branch : pmacs2 --- mode/css.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mode/css.py b/mode/css.py index a07a3b8..726c09f 100644 --- a/mode/css.py +++ b/mode/css.py @@ -45,6 +45,10 @@ class CSS(mode2.Fundamental): modename = 'CSS' extensions = ['.css'] grammar = CSSGrammar + opentokens = ('delimiter',) + opentags = {'(': ')', '[': ']', '{': '}'} + closetokens = ('delimiter',) + closetags = {')': '(', ']': '[', '}': '{'} colors = { 'comment': ('red', 'default'), 'comment.start': ('red', 'default'),