atom-jade icon indicating copy to clipboard operation
atom-jade copied to clipboard

Changing variable bracket color

Open smaili opened this issue 10 years ago • 4 comments

I noticed that the #{} bracket starts out red, as shown below: before

but once the bracket is closed, it changes to green: after

Is this is a bug or on purpose? If it's on purpose, what's the best way to keep the original red color? Coming from MacVim, I'm a big fan of the red: vim

smaili avatar Jul 08 '15 18:07 smaili

I don't know if this still an issue, here's what I get:

img

fpereira1 avatar Jan 29 '16 22:01 fpereira1

Woah, completely forgot I had posted it!

What version do you have? Mine still continues to have the same behavior.

smaili avatar Jan 30 '16 00:01 smaili

@smaili atom 1.4.1 and latest version of devongovett/atom-jade

fpereira1 avatar Jan 30 '16 00:01 fpereira1

@smaili the best way is with an Atom theme, or by editing your styles.less

You can highlight them separately as long as this grammar tags them separately (e.g. as variable.sigil vs variable.identifier or something).

Unfortunately I don't know precisely what scopes those are, and Atom has unbelievably shitty documentation about this, verging on actively discouraging the use of Atom, so I can't tell you what to put in your custom theme or styles.less, nor what this grammar should tag those captures with if it doesn't already.

alexchandel avatar Jan 13 '17 01:01 alexchandel