diff options
author | henil <dedaniahenil@gmail.com> | 2020-10-06 10:58:24 +0530 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-10-11 20:54:37 +0200 |
commit | 206d3e7b914a6ee4d3d9c53ccd71e74859ae111e (patch) | |
tree | d4bbe6d15a01f6e3050b7097f66d841cecbe33b9 /README.md | |
parent | 4be32cf746630e91ef291751cbf1590dd75fc97c (diff) |
fix a typo
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -492,7 +492,7 @@ alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /de ### Syntax of a file -You can change the default syntax highlighting of the file using `--map-syntax` option. +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. Use it like this: @@ -503,7 +503,7 @@ bat --map-syntax='PATTERN:SYNTAX' file-name For example: ```bash -# Using `INI` file syntax highligting when opening a file with extension `.conf`. +# Using `INI` file syntax highlighting when opening a file with extension `.conf`. bat --map-syntax='*.conf:INI' file.conf # Using `Git Ignore` file syntax highlighting for ".ignore" files |