parent
9c19cffcf0
commit
6becf40e27
|
@ -5,6 +5,7 @@ from mode.sh import StringGrammar
|
||||||
class ConfGrammar(Grammar):
|
class ConfGrammar(Grammar):
|
||||||
rules = [
|
rules = [
|
||||||
PatternRule(r'comment', r'#.*$'),
|
PatternRule(r'comment', r'#.*$'),
|
||||||
|
PatternRule(r'comment', r'//.*$'),
|
||||||
RegionRule(r'string', r"'", Grammar, r"'"),
|
RegionRule(r'string', r"'", Grammar, r"'"),
|
||||||
RegionRule(r'string', r'"', StringGrammar, r'"'),
|
RegionRule(r'string', r'"', StringGrammar, r'"'),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue