simurai / duotone-dark-syntax

DuoTone dark - A syntax theme for Atom
MIT License
273 stars 22 forks source link

C bugs #8

Open louis-vs opened 8 years ago

louis-vs commented 8 years ago

I've encountered a couple of bugs when it comes to the C syntax highlighting, mostly down to some strange irregularities:

function calling

typedefs with function pointers

Also, are semi-colons not supposed to be the duller tone throughout, like in the CSS preview on the main page? It's a bit irregular atm as you can see in the second bullet.

These are just off the top of my head, but there might be a couple more I haven't put here.

Other than that, I love the duo-tone style, especially with these colours!

simurai commented 8 years ago

Function brackets: built-in/library functions work fine (i.e. malloc, printf) but user-mades do not

Generally I think the parenthesis of die(... is correct. It looks a bit toned down giving less importance.

The problem is that currently it's not really possible to style the other parentheses that are stronger. They're just "plain text" without having a way to select them. Same with some semicolons.

I'll make a new issue in language-c and see if it can be fixed there.

Edit: This https://github.com/atom/language-c/pull/107 might help.