Skip to content

bash heredoc ending sign bug #4114

@shemgp

Description

@shemgp

Description

Highlighting in Bash heredoc gets terminated when there's a word inside the heredoc that has no space before it and has no words after it.

Bellow is the example:

#!/usr/bin/bash

cat <<HELLO

# Bellow does not work
DoesNotWork
	
HELLO

cat <<HELLO

This one works since there are more words.

HELLO

Environment

  • Version: 2.0.15
  • OS: Ubuntu 26.04
  • Terminal: ptyxis 50.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions