mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-18 20:11:03 +00:00
Merge pull request #2587 from cyqsimon/os-release
Add `os-release` syntax mapping
This commit is contained in:
commit
70e49bd32b
@ -10,6 +10,8 @@
|
||||
|
||||
## Syntaxes
|
||||
|
||||
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
|
||||
|
||||
## Themes
|
||||
|
||||
## `bat` as a library
|
||||
|
@ -63,6 +63,12 @@ impl<'a> SyntaxMapping<'a> {
|
||||
MappingTarget::MapTo("Bourne Again Shell (bash)"),
|
||||
)
|
||||
.unwrap();
|
||||
mapping
|
||||
.insert(
|
||||
"os-release",
|
||||
MappingTarget::MapTo("Bourne Again Shell (bash)"),
|
||||
)
|
||||
.unwrap();
|
||||
mapping
|
||||
.insert("*.pac", MappingTarget::MapTo("JavaScript (Babel)"))
|
||||
.unwrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user