You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but since sublimehq/Packages@40ec1f2 they don't seem to be compatible with syntect, mostly failing with error "Missing mandatory key in YAML file: match".
I'm using syntect 5.0.0 and tried both add_from_folder() and individually with SyntaxDefinition::load_from_str(&s, true, p.file_stem().and_then(|x| x.to_str())).
ASP/HTML (ASP).sublime-syntax: Missing mandatory key in YAML file: match
You are running into #323 and #271. Until these are implemented, syntect cannot be used with syntax definitions which use these features.
In the interim, we plan to have syntect show a more accurate error message. (See #460 (comment))
I'm trying to parse sublime syntaxes: https://github.com/sublimehq/Packages/tree/v4145
but since sublimehq/Packages@40ec1f2 they don't seem to be compatible with syntect, mostly failing with error "Missing mandatory key in YAML file: match".
I'm using syntect 5.0.0 and tried both
add_from_folder()
and individually withSyntaxDefinition::load_from_str(&s, true, p.file_stem().and_then(|x| x.to_str()))
.The text was updated successfully, but these errors were encountered: