1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-22 16:53:19 +00:00

Merge pull request #3636 from victor-gp/add-mapping-for-ignore-files

Add mapping for ignore files
This commit is contained in:
Keith Hall
2026-03-18 22:08:02 +02:00
committed by GitHub
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@
- Add syntax highlighting support for COBOL, see #3584 (@adukhan99)
- Fixed manpage syntax so that ANSI escape codes don't get incorrectly highlighted and thus broken, see #3586 (@BlueElectivire)
- Map several Google Cloud CLI config files to their appropriate syntax #3635 (@victor-gp)
- Map all ignore dotfiles to Git Ignore syntax #3636 (@victor-gp)
## Themes
+2
View File
@@ -68,6 +68,8 @@ users, please read the corresponding
[documentation](https://github.com/sharkdp/bat/blob/master/doc/assets.md)
first.
To map a file name pattern to an existing syntax, read [the documentation here](https://github.com/sharkdp/bat/blob/master/src/syntax_mapping/builtins/README.md).
Note: We are currently not accepting new default themes.
@@ -0,0 +1,2 @@
[mappings]
"Git Ignore" = [".?*ignore"]