mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-15 18:18:45 +01:00
Merge pull request #2615 from einfachIrgendwer0815/feature_containerfile_mapping
Add `Containerfile` syntax mapping
This commit is contained in:
commit
783d4877e1
@ -11,6 +11,7 @@
|
|||||||
## Syntaxes
|
## Syntaxes
|
||||||
|
|
||||||
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
|
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
|
||||||
|
- Associate `Containerfile` with `Dockerfile` syntax, see #2606 (@einfachIrgendwer0815)
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
|
||||||
|
@ -86,6 +86,10 @@ impl<'a> SyntaxMapping<'a> {
|
|||||||
.insert("rails", MappingTarget::MapToUnknown)
|
.insert("rails", MappingTarget::MapToUnknown)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
mapping
|
||||||
|
.insert("Containerfile", MappingTarget::MapTo("Dockerfile"))
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
// Nginx and Apache syntax files both want to style all ".conf" files
|
// Nginx and Apache syntax files both want to style all ".conf" files
|
||||||
// see #1131 and #1137
|
// see #1131 and #1137
|
||||||
mapping
|
mapping
|
||||||
|
Loading…
Reference in New Issue
Block a user