1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-20 20:08:58 +00:00

made requested changes

This commit is contained in:
henil 2020-10-07 19:36:01 +05:30 committed by David Peter
parent 206d3e7b91
commit bce304a800

View File

@ -492,10 +492,10 @@ alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /de
### Syntax of a file
You can change the default syntax highlighting of the file using the `--map-syntax` option.
It uses glob pattern matching and is matched on full path and filename.
You can change the default syntax association of the file using the `--map-syntax` option.
It supports glob pattern matching and is matched on full path and filename.
Use it like this:
You can use it like this:
```bash
bat --map-syntax='PATTERN:SYNTAX' file-name