You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- use syntect::dumps::from_binary;
- use syntect::parsing::SyntaxSet;
- use syntect::highlighting::ThemeSet;
-
- thread_local!{
- pub static SYNTAX_SET: SyntaxSet = {
- let mut ss: SyntaxSet = from_binary(include_bytes!("../../../sublime_syntaxes/newlines.packdump"));
- ss.link_syntaxes();
- ss
- };
- }
-
- lazy_static!{
- pub static ref THEME_SET: ThemeSet = from_binary(include_bytes!("../../../sublime_themes/all.themedump"));
- }
|