You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the attached snippet. It contains a Bash regex that checks if a variable contains a (note the space). However when using Treesitter, everything beyond the first ' character in the regex is unhighlighted, until the end of the document.
Issue first detected in Neovim. With treesitter plugin disabled, it works fine.
Example snippet that causes the problem
#!/usr/bin/bash
v='a b'
if [[ $v =~ a' ' ]]; then
echo ok
fi
Example screenshot
The text was updated successfully, but these errors were encountered:
Consider the attached snippet. It contains a Bash regex that checks if a variable contains
a
(note the space). However when using Treesitter, everything beyond the first'
character in the regex is unhighlighted, until the end of the document.Issue first detected in Neovim. With treesitter plugin disabled, it works fine.
Example snippet that causes the problem
Example screenshot
The text was updated successfully, but these errors were encountered: