Skip to main content

load_theme

Function load_theme 

Source
pub fn load_theme(theme_name: &str, _cache: bool) -> Theme
Expand description

Load a theme from the process-global theme set.

§Arguments

  • theme_name - Theme identifier (TextMate theme name)
  • cache - Ignored. Kept for API compatibility.

§Returns

Cloned theme instance (safe for multi-threaded use)