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