cargo fmt

pull/70/head
Wilfred Hughes 2021-11-21 11:42:13 +07:00
parent 9d84dd6a4b
commit 85e9a849ba
1 changed files with 3 additions and 1 deletions

@ -204,7 +204,9 @@ pub fn from_extension(extension: &OsStr) -> Option<TreeSitterConfig> {
"rb" => Some(TreeSitterConfig {
name: "Ruby",
language: unsafe { tree_sitter_ruby() },
atom_nodes: (vec!["string", "heredoc_body", "regex"]).into_iter().collect(),
atom_nodes: (vec!["string", "heredoc_body", "regex"])
.into_iter()
.collect(),
delimiter_tokens: (vec![
("{", "}"),
("(", ")"),