Wrong curly bracket color
umpirsky opened this issue · comments
Saša Stamenković commented
Description
Open {
is yellow for class, but gray for methods.
Steps to Reproduce
This started happening when I upgraded to 1.21
.
- 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
Rafael Renan Pacheco commented
Brackets are still yellow in Atom 1.21.1
Saša Stamenković commented
This is the default syntax for Atom editor, right?
Higoka commented
Still yellow in 1.22.1
Winston Liu commented
This is the default syntax for Atom editor, right?
I believe so, yes.
simurai commented
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;
}