mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-16 18:22:28 +01:00
Include syntaxes and themes in repository
This changes a few things: - All syntaxes and themes are now stored (as submodules) under assets/syntaxes and assets/themes - The default directories for syntaxes and themes are "syntaxes" and "themes" (used to be "syntax" and "themes") - The "bat cache" command can now take a `--source <dir>` and `--target <dir>` option. - The cached files have been renamed to "themes.bin" and "syntaxes.bin"
This commit is contained in:
@@ -136,8 +136,8 @@ ln -s "sublime-monokai-extended/Monokai Extended.tmTheme" Default.tmTheme
|
||||
Create a folder with language definition files:
|
||||
|
||||
``` bash
|
||||
mkdir -p "$BAT_CONFIG_DIR/syntax"
|
||||
cd "$BAT_CONFIG_DIR/syntax"
|
||||
mkdir -p "$BAT_CONFIG_DIR/syntaxes"
|
||||
cd "$BAT_CONFIG_DIR/syntaxes"
|
||||
|
||||
# Download some language definition files, for example:
|
||||
git clone https://github.com/sublimehq/Packages/
|
||||
|
Reference in New Issue
Block a user