summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2021-01-10 16:18:33 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2021-01-10 22:24:32 +0100
commit0e2bef3b79bdb6a6ac537ea401cd2dfe813d9735 (patch)
treebc102bb671f8c12617f0f78805a694c837376c42
parent221c9815a51addc1a37618392e9c2cc6ca10c047 (diff)
Fix minor mistakes in --map-syntax documentation
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4e953b1c..668c5423 100644
--- a/README.md
+++ b/README.md
@@ -481,7 +481,7 @@ You can add new (or change existing) file name patterns using the `--map-syntax`
command line option. The option takes an argument of the form `pattern:syntax` where
`pattern` is a glob pattern that is matched against the file name and
the absolute file path. The `syntax` part is the full name of a supported language
-(use `bat --list-languages` for an overview)full .
+(use `bat --list-languages` for an overview).
Note: You probably want to use this option as an entry in `bat`s configuration file instead
of passing it on the command line (see below).
@@ -499,7 +499,7 @@ Example: To open all files called `.ignore` (exact match) with the "Git Ignore"
Example: To open all `.conf` files in subfolders of `/etc/apache2` with the "Apache Conf"
syntax, use (this mapping is already built in):
```bash
--map-syntax='/etc/apache2/**/*.conf:Apache Conf'
+--map-syntax='/etc/apache2/**/*.conf:Apache Conf'
```
### Using a different pager