Open Mikelem opened 3 years ago
It's not working... I believe. It's been awhile.
To be clear, I have a fix that I put in place because the highlighting stopped working. I can only assume it was when I got my M1.
Here's the fix. Can't credit the proper party, but someone definitely helped me with this. Potentially here.
Original fix was to modify styles.less and add the following:
atom-text-editor::shadow .type.class.todo {
background-color: yellow;
color: black;
font-style: normal;
}
But referencing by ::shadow
is deprecated so new solution is the following:
atom-text-editor.editor .syntax--type.syntax--class.syntax--todo {
background-color: yellow;
color: black;
font-style: normal;
}
Note that you'll need to add this for each of the TODO language words you want to modify. Such as:
// WARNING style
atom-text-editor.editor .syntax--type.syntax--class.syntax--warning {
background-color: red;
color: white;
font-style: normal;
}
// COMBAK: style
atom-text-editor.editor .syntax--type.syntax--class.syntax--combak {
background-color: purple;
color: white;
font-style: normal;
font-weight: bolder;
}
All of which results in:
Thanks @Entreprenerdz! Works great except not with .py files.
Summary
Motivation
Describe alternatives you've considered
Additional context