tamzinblake / js3-mode

A chimeric fork of js2-mode and js-mode
GNU General Public License v3.0
181 stars 13 forks source link

Customizing function-call face only affects the opening parens #92

Open JacksonGariety opened 10 years ago

JacksonGariety commented 10 years ago

I have my function call face set to a yellow foreground color, and my default color for all other text is green.

When I call a function with these settings in js3-mode, the called function name is in green, and the first parenthesis after it is yellow.

screen shot 2014-01-13 at 2 42 09 pm

Is this a bug?

tamzinblake commented 10 years ago

That's really interesting. I can tell you that behavior is not intentional, and can tell you very little else about it right now.

JacksonGariety commented 10 years ago

@thomblake Actually nothing gets highlighted if I remove the yellow face from Js3 Private Function Call Face. So the first parens was being highlighted as a result of that, but function call faces aren't working at all.

If either/both Private Function Call Face or Function Call Face are set, the opening parens is highlighted.