From 0cfae9cb2af51620b61c7a60eb276e1d1efdfcc2 Mon Sep 17 00:00:00 2001 From: d6 Date: Tue, 28 Dec 2021 22:47:37 -0500 Subject: [PATCH] highlight strings in conf --HG-- branch : pmacs2 --- mode/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/conf.py b/mode/conf.py index 88686b4..2ebada0 100644 --- a/mode/conf.py +++ b/mode/conf.py @@ -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'(?:[^\'"#/]|/(?!/))+'), ]