helix icon indicating copy to clipboard operation
helix copied to clipboard

Wrong Bash heredoc syntax highlighting

Open xroberx opened this issue 2 years ago • 3 comments

Summary

Syntax highlighting for Bash heredoc is broken.

Sample Helix screenshots (incorrect):

scr01_hx scr02_hx

Sample Visual Studio Code screenshots (correct):

scr01_vscode scr02_vscode

Reproduction Steps

Open any bash script with heredoc syntax

Helix log

No response

Platform

Linux / Windows

Terminal Emulator

xfce4-terminal / Windows Terminal

Helix Version

helix 23.03

xroberx avatar May 15 '23 10:05 xroberx

That will be down to https://github.com/tree-sitter/tree-sitter-bash. It would be better to file an issue there.

David-Else avatar May 15 '23 14:05 David-Else

I also suspect this is an upstream issue but could you also upload the file here to make it easy to reprduicr the issue?

pascalkuthe avatar May 15 '23 14:05 pascalkuthe

You are right: https://github.com/tree-sitter/tree-sitter-bash/issues/159#issuecomment-1482214316

xroberx avatar May 16 '23 10:05 xroberx