Lots of config changes to things
This commit is contained in:
parent
713f9df659
commit
c01afa63c5
15 changed files with 619 additions and 57 deletions
|
@ -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;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue