Skip to content

Commit

Permalink
Merge pull request #7 from andyneff/missing_slash2
Browse files Browse the repository at this point in the history
Fixed inline comments and newlines
  • Loading branch information
princemaple authored Sep 18, 2016
2 parents c70ee9e + 8589c91 commit e14f3ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variables:
contexts:
main:
- include: comments
- match: '^FROM\s'
- match: ^FROM\s
captures:
0: keyword.control.dockerfile
push: body
Expand All @@ -36,7 +36,9 @@ contexts:
push: args

args:
- match: ^\s*$
- match: \\\s+$
- include: comments
- match: \n
pop: true
- match: '"'
Expand All @@ -50,6 +52,7 @@ contexts:

double_quote_string:
- meta_scope: string.quoted.double.dockerfile
- match: ^\s*$
- match: \\\s+$
- match: \n
set: invalid
Expand All @@ -62,6 +65,7 @@ contexts:

single_quote_string:
- meta_scope: string.quoted.single.dockerfile
- match: ^\s*$
- match: \\\s+$
- match: \n
set: invalid
Expand Down

0 comments on commit e14f3ed

Please sign in to comment.