You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having ability to fail silently with no output and a non-zero exit status would be useful when configuring bat as an input preprocessor for less. This would accomplish falling back to other preprocessors in case bat doesn't have a specific output available for the given file, such as ones displaying metadata for images, archives, etc.
I implemented this to chroma some time ago, not sure how easily something like this would fit to bat but based on a quick look, it might not be entirely trivial:
Having ability to fail silently with no output and a non-zero exit status would be useful when configuring
bat
as an input preprocessor forless
. This would accomplish falling back to other preprocessors in casebat
doesn't have a specific output available for the given file, such as ones displaying metadata for images, archives, etc.I implemented this to
chroma
some time ago, not sure how easily something like this would fit tobat
but based on a quick look, it might not be entirely trivial:The text was updated successfully, but these errors were encountered: