mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-21 12:28:30 +00:00
made requested changes
This commit is contained in:
parent
206d3e7b91
commit
bce304a800
@ -492,10 +492,10 @@ alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /de
|
|||||||
|
|
||||||
### Syntax of a file
|
### Syntax of a file
|
||||||
|
|
||||||
You can change the default syntax highlighting of the file using the `--map-syntax` option.
|
You can change the default syntax association of the file using the `--map-syntax` option.
|
||||||
It uses glob pattern matching and is matched on full path and filename.
|
It supports glob pattern matching and is matched on full path and filename.
|
||||||
|
|
||||||
Use it like this:
|
You can use it like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bat --map-syntax='PATTERN:SYNTAX' file-name
|
bat --map-syntax='PATTERN:SYNTAX' file-name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user