emacs-php / emacs-php/php-mode

Unexpected syntax highlights after "new" in string

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

Description

## About

- I found unexpected syntax highlights in the string after "new"
- I think it is affected by "new" for object creation

## Screenshot

| "ne foo" | "new foo" |
| --- | --- |
| ne foo | new foo |
| "foo" is sting color | "foo" is object color, maybe |

## Environments

```
(emacs-version)
"GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.4.0, NS appkit-2113.40 Version 12.3.1 (Build 21E258))
of 2022-05-13"

(php-mode-version)
"PHP Mode 1.24.1"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.