Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ketkarameya committed Aug 11, 2023
1 parent 9ddeca5 commit 0262647
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/models/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ impl std::str::FromStr for PiranhaLanguage {
language: tree_sitter_scala::language(),
rules: None,
edges: None,
scopes: vec![],
scopes: parse_toml::<ScopeConfig>(include_str!("../cleanup_rules/scala/scope_config.toml"))
.scopes()
.to_vec(),
comment_nodes: vec![],
}),
_ => Err("Language not supported"),
Expand Down

0 comments on commit 0262647

Please sign in to comment.