Lots of config changes to things

This commit is contained in:
Jonathan Hodgson 2019-01-08 16:26:44 +00:00
parent b05f18aeea
commit 930159d492
15 changed files with 619 additions and 57 deletions

View file

@ -117,7 +117,7 @@ case "$mimetype" in
pygmentize_format=terminal
highlight_format=ansi
fi
bat --style="numbers" --color always "$path" && { dump | trim; exit 5; }
bat --style="numbers" --color always --line-range :$maxln "$path" && { dump | trim; exit 5; }
try safepipe highlight --out-format=${highlight_format} "$path" && { dump | trim; exit 5; }
try safepipe pygmentize -f ${pygmentize_format} "$path" && { dump | trim; exit 5; }
exit 2;;