1
0
mirror of https://github.com/cmur2/language-zonefile.git synced 2024-12-22 02:54:25 +01:00

grammar: remove duplicate comment handling

This commit is contained in:
cn 2017-11-26 15:40:02 +01:00
parent edb3b934b1
commit 265e488e96

View File

@ -14,13 +14,11 @@ patterns: [
name: 'keyword.directive.zonefile' name: 'keyword.directive.zonefile'
} }
{ {
match: '\\$(ORIGIN|origin|TTL|ttl|INCLUDE|include)\\s*([^;]*)(;.*)?'
name: 'keyword.directive.zonefile' name: 'keyword.directive.zonefile'
match: '\\$(ORIGIN|origin|TTL|ttl|INCLUDE|include)\\s+([^;]*)'
captures: captures:
'2': '2':
name: 'variable.other.directive.zonefile' name: 'variable.other.directive.zonefile'
'3':
name: 'comment.line.semicolon.zonefile'
} }
{ {
match: '\\d+(H|h|D|d|W|w|M|m|Y|y)' match: '\\d+(H|h|D|d|W|w|M|m|Y|y)'