Broken highlighting for bash for one line variable assignment #3151
Labels
A-tree-sitter
Area: Tree-sitter
C-bug
Category: This is a bug
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-good-first-issue
Call for participation: Issues suitable for new contributors
E-has-instructions
Call for participation: Has instructions for fixing the issue and opening a PR
Summary
On a bash script file with two variable declarations on one line like this:
the highlighting breaks for subsequent lines.
Screenshots:
in neovim (looks the same for both cases)
in helix before
in helix after
Reproduction Steps
I tried this:
test.sh
hx -vvv test.sh
x='' y=''
tox=''y=''
I expected this to happen:
Instead, this happened:
Helix log
~/.cache/helix/helix.log
Platform
Linux 5.18.12-arch1-1
Terminal Emulator
alacritty 0.10.1 ()
Helix Version
helix 22.05
The text was updated successfully, but these errors were encountered: