Improve bash atoms

Fixes #903
split_more_thoroughly
Wilfred Hughes 2025-10-23 09:37:53 +07:00
parent 117274ad6c
commit 648fe733ba
2 changed files with 3 additions and 1 deletions

@ -6,6 +6,8 @@ Added support for protocol buffer files. Updated CMake, Solidity, HCL,
Dart, Elm, Devicetree, Gleam, Newick, Racket, Scheme, Ada, SQL, QMLJS
and R parsers.
Improved handling of variable names `$foo` in shell scripts.
### Display
Difftastic is now smarter about calculating the display width for

@ -146,7 +146,7 @@ pub(crate) fn from_language(language: guess::Language) -> TreeSitterConfig {
TreeSitterConfig {
language: language.clone(),
atom_nodes: ["string", "raw_string", "heredoc_body"]
atom_nodes: ["string", "raw_string", "heredoc_body", "simple_expansion"]
.into_iter()
.collect(),
delimiter_tokens: vec![("(", ")"), ("{", "}"), ("[", "]")],