highlight strings in conf

--HG--
branch : pmacs2
This commit is contained in:
~d6 2021-12-28 22:47:37 -05:00
parent fe83426f8e
commit 0cfae9cb2a
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ class ConfGrammar(Grammar):
rules = [
PatternRule('conf.comment', '#.*$'),
PatternRule('conf.comment', '//.*$'),
#RegionRule('conf.string', "'", StringGrammar1, "'"),
#RegionRule('conf.string', '"', StringGrammar2, '"'),
RegionRule('conf.string', "'", StringGrammar1, "'"),
RegionRule('conf.string', '"', StringGrammar2, '"'),
PatternRule('conf.data', r'(?:[^\'"#/]|/(?!/))+'),
]