i hate syntax highlighters
i really do
repo name is not a typo
this is an attempt to create a syntax highlighting theme for atom that i find okay. i will base it on a style guide i created for university math scripts, which aren't at all like code. but i had a few ideas doing that which i want to use.
i'm doing this highlighting for js, so this is what i'll base my examples on. i thought of the following 4 groups and colours:
y = 'abc';
has y
and ''
from the keyword group and =
from assignment group.const x = 15;
: const
is a keyword, x =
is both in the definition group.awesomeSnytax(value);
. awesomeSnytax
should be red, parantheses are standard group though.===
and ||
and &
, these are also just function calls that take arguments from the left and right side and return something.##screenshot
this is my progress so far. probably looks shitty in other languages and is still bugged i guess.
the parentheses after if/while/etc shouldn't be red, but there was nothing i could do about that for now.
(frequently asked questions by myself)
idk. maybe tomorrow. or the day after. or next week. maybe not at all, if that's the case just feel inspired and fork this or do your own. i don't care.
ha, i already started!
idk. it felt appropriate for somehow ranting about shitty syntax highlighters.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.