Using specific themes for specific file types #2598
Answered
by
keith-hall
BlizZard-bot
asked this question in
Q&A
-
Is there an inbuilt way to configure which theme is used for specific file types? I'm using a custom theme that doesn't provide syntax highlighting for certain file types so I want to use a different theme as a fallback. |
Beta Was this translation helpful? Give feedback.
Answered by
keith-hall
Jun 19, 2023
Replies: 1 comment 1 reply
-
Hi, no, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BlizZard-bot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, no,
bat
currently doesn't have any built-in support for that.Probably the best it can do is with a wrapper script which invokes
bat
and points to a different config file based on file extension. Obviously this would be limited to those files with specific extensions, it wouldn't work for piping from stdin for example.