Formatting fix

This commit is contained in:
David Peter 2020-10-14 08:26:02 +02:00 committed by GitHub
parent bf78b74db4
commit 57c1a7fd69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 16 deletions

View File

@ -404,32 +404,32 @@ syntax:
1. Create a folder with syntax definition files: 1. Create a folder with syntax definition files:
```bash ```bash
mkdir -p "$(bat --config-dir)/syntaxes" mkdir -p "$(bat --config-dir)/syntaxes"
cd "$(bat --config-dir)/syntaxes" cd "$(bat --config-dir)/syntaxes"
# Put new '.sublime-syntax' language definition files # Put new '.sublime-syntax' language definition files
# in this folder (or its subdirectories), for example: # in this folder (or its subdirectories), for example:
git clone https://github.com/tellnobody1/sublime-purescript-syntax git clone https://github.com/tellnobody1/sublime-purescript-syntax
``` ```
2. Now use the following command to parse these files into a binary cache: 2. Now use the following command to parse these files into a binary cache:
```bash ```bash
bat cache --build bat cache --build
``` ```
3. Finally, use `bat --list-languages` to check if the new languages are available. 3. Finally, use `bat --list-languages` to check if the new languages are available.
If you ever want to go back to the default settings, call: If you ever want to go back to the default settings, call:
```bash ```bash
bat cache --clear bat cache --clear
``` ```
4. If you think that a specific syntax should be included in `bat` by default, please 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 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). 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 ### Adding new themes