Consider Elixir sigils as atom nodes

pull/816/head
crbelaus 2024-11-18 13:31:42 +07:00 committed by Wilfred Hughes
parent c5527634b8
commit 505a9f6c24
1 changed files with 1 additions and 1 deletions

@ -308,7 +308,7 @@ pub(crate) fn from_language(language: guess::Language) -> TreeSitterConfig {
TreeSitterConfig {
language: language.clone(),
atom_nodes: ["string", "heredoc"].into_iter().collect(),
atom_nodes: vec!["string", "sigil", "heredoc"].into_iter().collect(),
delimiter_tokens: vec![("(", ")"), ("{", "}"), ("do", "end")]
.into_iter()
.collect(),