diff --git a/src/models/language.rs b/src/models/language.rs index dc16d3566..873769d87 100644 --- a/src/models/language.rs +++ b/src/models/language.rs @@ -267,7 +267,9 @@ impl std::str::FromStr for PiranhaLanguage { language: tree_sitter_scala::language(), rules: None, edges: None, - scopes: vec![], + scopes: parse_toml::(include_str!("../cleanup_rules/scala/scope_config.toml")) + .scopes() + .to_vec(), comment_nodes: vec![], }), _ => Err("Language not supported"),