1
0
mirror of https://github.com/sharkdp/bat synced 2026-06-09 10:03:18 +00:00

Map ignore files to Git Ignore syntax

This would catch any dotfiles that end in "ignore", but not `.ignore`

Set as a lower priority rule (90 vs the usual 50) because it's a blanket
assignation. If there are conflict with other, more specific rules,
those will take precedence.
This commit is contained in:
Víctor González Prieto
2026-03-17 22:59:21 +01:00
committed by Keith Hall
parent f11374535d
commit a4e853c4fa
2 changed files with 3 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
@@ -0,0 +1,2 @@
[mappings]
"Git Ignore" = [".?*ignore"]