Struct syntect::highlighting::ThemeSet [−][src]
Fields
themes: BTreeMap<String, Theme>
Implementations
Loads the set of default themes Currently includes (these are the keys for the map):
base16-ocean.dark
,base16-eighties.dark
,base16-mocha.dark
,base16-ocean.light
InspiredGitHub
from hereSolarized (dark)
andSolarized (light)
A set of themes, includes convenient methods for loading and discovering themes.
Returns all the themes found in a folder
This is god for enumerating before loading one with get_theme
Loads a theme given a path to a .tmTheme file
Loads a theme given a readable stream
Generate a ThemeSet
from all themes in a folder
Load all the themes in the folder into this ThemeSet
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more