css mode tag matching

--HG--
branch : pmacs2
This commit is contained in:
moculus 2007-10-21 04:51:45 +00:00
parent 35346359a4
commit d5021cd868
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ class CSS(mode2.Fundamental):
modename = 'CSS' modename = 'CSS'
extensions = ['.css'] extensions = ['.css']
grammar = CSSGrammar grammar = CSSGrammar
opentokens = ('delimiter',)
opentags = {'(': ')', '[': ']', '{': '}'}
closetokens = ('delimiter',)
closetags = {')': '(', ']': '[', '}': '{'}
colors = { colors = {
'comment': ('red', 'default'), 'comment': ('red', 'default'),
'comment.start': ('red', 'default'), 'comment.start': ('red', 'default'),