emacs-php / emacs-php/php-mode

Heredocs confuse syntax highlighting

Open
#833 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
602
Forks
117
Avg merge
12h 54m
Merged PRs (30d)
3

Description

As can be seen in the screenshot below:

Image

HEREDOCs seem to really confuse it.

Contributor guide

Open the contributing guide

Research direction

Reproduce the screenshot's HEREDOC example in a PHP buffer and inspect how php-mode applies syntax highlighting around it. Compare the result with the expected highlighting shown in the issue; done means HEREDOCs no longer confuse the surrounding PHP highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp, php
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.