Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Feature: Add Dockerfile as an alias for the docker lexer. (rouge-ruby…
Browse files Browse the repository at this point in the history
…#1609)

* Update docker.rb

* format: change double quotes to single quote
  • Loading branch information
KonnorRogers authored and mattt committed May 19, 2021
1 parent 5013cb2 commit 1e38cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rouge/lexers/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Docker < RegexLexer
title "Docker"
desc "Dockerfile syntax"
tag 'docker'
aliases 'dockerfile'
aliases 'dockerfile', 'Dockerfile'
filenames 'Dockerfile', '*.Dockerfile', '*.docker'
mimetypes 'text/x-dockerfile-config'

Expand Down

0 comments on commit 1e38cdc

Please sign in to comment.