Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@mohd-akram
Copy link
Contributor

@mohd-akram mohd-akram commented Jun 21, 2020

Description of the Change

Add support for recognizing expansions in heredocs. The begin regexes of the existing rules are modified to not match the expanded form (which doesn't have quotes, see here). New rules for the expanded form are added that are identical to the existing ones minus the quotes. The patterns are taken from 'string' (minus the quotes).

Alternate Designs

None

Benefits

Variables in shell script heredocs will be correctly highlighted.

Possible Drawbacks

None

Applicable Issues

#151

@mohd-akram
Copy link
Contributor Author

@darangi Could this be merged?

@softwarecreations
Copy link

You might find my bug report interesting: #165

@sudeshjethoe
Copy link

why is still open? same issue in vscode

@darangi darangi merged commit 4a627b9 into atom:master Apr 1, 2022
@mohd-akram mohd-akram deleted the fix-heredoc-expansion branch April 1, 2022 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants