Deprecate old `default_theme` function

This commit is contained in:
Tau Gärtli 2024-04-16 14:43:18 +02:00
parent 5aa3043c6e
commit 6232561b14
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ impl HighlightingAssets {
///
/// See <https://github.com/sharkdp/bat/issues/1746> and
/// <https://github.com/sharkdp/bat/issues/1928> for more context.
#[deprecated(note = "use bat::theme::theme instead")]
pub fn default_theme() -> &'static str {
#[cfg(not(target_os = "macos"))]
{