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

A certain way of writing Ternary removes Syntax Highlighting of null #386

Description

@finn-matti

Prerequisites

Description

Null value looses coloration when colon is written on same line

Steps to Reproduce

See screenshots.

Actual behavior:

Screenshot 2020-03-26 at 09 59 26

Expected behavior:

Screenshot 2020-03-26 at 09 59 40

Reproduces how often:

Every time.

Versions

  • Atom : 1.45.0
  • Electron: 4.2.7
  • Chrome : 69.0.3497.128
  • Node : 10.11.0
  • macOS: 10.15.4

Additional Information

I raised the same issue earlier here but was referred to report it here. The maintainer said:

Issue belongs to this repository: https://github.com/atom/language-php
And is caused by null : interpreted as goto label.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions