summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-10-14 08:24:20 +0200
committersharkdp <davidpeter@web.de>2020-10-14 08:24:20 +0200
commitbf78b74db4274361d2d6eb4746e1c77667b99255 (patch)
tree59f8efdf64586345a147ca11153ef703b27d24d7 /README.md
parentf80fba4d24fddbac4f481c6639f7b334dec149a1 (diff)
Minor README improvements
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/README.md b/README.md
index 522a4535..a3a1e8dc 100644
--- a/README.md
+++ b/README.md
@@ -391,12 +391,16 @@ variable to make these changes permanent or use `bat`s
### Adding new syntaxes / language definitions
-Should you find a particular syntax is not available within `bat`, you can follow these instructions to easily add new syntaxes to your current `bat` installation.
+Should you find that a particular syntax is not available within `bat`, you can follow these
+instructions to easily add new syntaxes to your current `bat` installation.
-By default, `bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/)
+`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/)
library for syntax highlighting. `syntect` can read any
[Sublime Text `.sublime-syntax` file](https://www.sublimetext.com/docs/3/syntax.html)
-and theme.
+and theme.
+
+A good resource for finding Sublime Syntax packages is [Package Control](https://packagecontrol.io/). Once you found a
+syntax:
1. Create a folder with syntax definition files:
@@ -423,9 +427,9 @@ If you ever want to go back to the default settings, call:
bat cache --clear
```
-4. If you think that a specific syntax should be included in `bat` by default, please
- consider opening a "syntax request" ticket after reading the policies and
- instructions [here](doc/assets.md)
+4. If you think that a specific syntax should be included in `bat` by default, please
+ consider opening a "syntax request" ticket after reading the policies and
+ instructions [here](doc/assets.md): [Open Syntax Request](https://github.com/sharkdp/bat/issues/new?labels=syntax-request&template=syntax_request.md).
### Adding new themes