Skip to content

Commit

Permalink
Add Dockerfile.* to docker lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind authored and alecthomas committed Jul 13, 2022
1 parent 5ce1d5d commit 3b326be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexers/docker.go
Expand Up @@ -9,7 +9,7 @@ var Docker = Register(MustNewLexer(
&Config{
Name: "Docker",
Aliases: []string{"docker", "dockerfile"},
Filenames: []string{"Dockerfile", "*.docker"},
Filenames: []string{"Dockerfile", "Dockerfile.*", "*.docker"},
MimeTypes: []string{"text/x-dockerfile-config"},
CaseInsensitive: true,
},
Expand Down

0 comments on commit 3b326be

Please sign in to comment.