mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 10:11:07 +00:00
Deprecate old default_theme
function
This commit is contained in:
parent
1423dd9440
commit
de796392cf
@ -90,6 +90,7 @@ impl HighlightingAssets {
|
|||||||
///
|
///
|
||||||
/// See <https://github.com/sharkdp/bat/issues/1746> and
|
/// See <https://github.com/sharkdp/bat/issues/1746> and
|
||||||
/// <https://github.com/sharkdp/bat/issues/1928> for more context.
|
/// <https://github.com/sharkdp/bat/issues/1928> for more context.
|
||||||
|
#[deprecated(note = "use bat::theme::theme instead")]
|
||||||
pub fn default_theme() -> &'static str {
|
pub fn default_theme() -> &'static str {
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user