mirror of
https://github.com/sharkdp/bat.git
synced 2025-03-14 06:38:24 +00:00
Formatting fix
This commit is contained in:
parent
bf78b74db4
commit
57c1a7fd69
32
README.md
32
README.md
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user