Using specific themes for specific file types #2598
-
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.
Replies: 1 comment 1 reply
-
Hi, no, |
Beta Was this translation helpful? Give feedback.
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.