From 265e488e96305ac5dc4921d42e653df623ce3666 Mon Sep 17 00:00:00 2001 From: cn Date: Sun, 26 Nov 2017 15:40:02 +0100 Subject: [PATCH] grammar: remove duplicate comment handling --- grammars/zonefile.cson | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grammars/zonefile.cson b/grammars/zonefile.cson index b2789e9..886b9ef 100644 --- a/grammars/zonefile.cson +++ b/grammars/zonefile.cson @@ -14,13 +14,11 @@ patterns: [ name: 'keyword.directive.zonefile' } { - match: '\\$(ORIGIN|origin|TTL|ttl|INCLUDE|include)\\s*([^;]*)(;.*)?' name: 'keyword.directive.zonefile' + match: '\\$(ORIGIN|origin|TTL|ttl|INCLUDE|include)\\s+([^;]*)' captures: '2': name: 'variable.other.directive.zonefile' - '3': - name: 'comment.line.semicolon.zonefile' } { match: '\\d+(H|h|D|d|W|w|M|m|Y|y)'