Update atom nodes config for Zig

pull/856/head
Wilfred Hughes 2025-07-02 23:11:34 +07:00
parent eb3735a90c
commit 00ceb78694
1 changed files with 1 additions and 3 deletions

@ -1138,9 +1138,7 @@ pub(crate) fn from_language(language: guess::Language) -> TreeSitterConfig {
TreeSitterConfig {
language: language.clone(),
atom_nodes: ["STRINGLITERALSINGLE", "BUILTINIDENTIFIER"]
.into_iter()
.collect(),
atom_nodes: ["string"].into_iter().collect(),
delimiter_tokens: vec![("{", "}"), ("[", "]"), ("(", ")")]
.into_iter()
.collect(),