atom / one-dark-syntax

Atom One dark syntax theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong curly bracket color

umpirsky opened this issue · comments

Description

Open { is yellow for class, but gray for methods.

screenshot from 2017-09-20 18-57-42

Steps to Reproduce

This started happening when I upgraded to 1.21.

  1. Open any PHP file (e.g. https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php)

Expected behavior: Both brackets to be of same color.

Actual behavior: See description.

Reproduces how often: Always.

See atom/atom#15624 for more details.

Versions

atom-beta --version
Atom    : 1.21.0-beta1
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm --version
apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.12
git 2.7.4
cat /etc/issue
Ubuntu 16.04.3 LTS \n \l

Brackets are still yellow in Atom 1.21.1

This is the default syntax for Atom editor, right?

Still yellow in 1.22.1

This is the default syntax for Atom editor, right?

I believe so, yes.

Should be fixed part of Atom 1.24. In the meantime you can add the following to your styles.less file:

// Fix curly brackets in classes (PHP)
.syntax--class.syntax--bracket.syntax--php {
  color: #abb2bf;
}