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:
parent
206d3e7b91
commit
bce304a800
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user