ice9js / ace-jump-sublime

Jump between characters in Sublime Text 3 without using a mouse at ease
MIT License
202 stars 30 forks source link

How to fix contrast in material theme? #33

Closed rawaludin closed 8 years ago

rawaludin commented 8 years ago

Hi, I really love this plugin. Currently, I'm using Material theme plugin https://github.com/equinusocio/material-theme. But, the contrast looks weird. Here's what I got:

screen shot 2015-12-03 at 8 29 56 pm

I'm really can't see the mark. For inspiration, using solarized dark, here's what I got: screen shot 2015-12-03 at 8 31 52 pm

What should I do to fix this? Thanks..

ice9js commented 8 years ago

Hi,

That looks rather like a theme issue to me, but worry not as the solution is already implemented. Go to Preferences > Package Settings > AceJump > Key Bindings - User and add the following setting:

{
    "labels_scope": "invalid"
}

It basically says, that AceJump should use the 'invalid' highlighting from your theme to highlight the labels. This is the default value, but obviously doesn't work for all themes out there, so you'll need to tweak this setting and see what works for you.

You can find a list of available highlighting scopes here: http://stackoverflow.com/a/21914803/4782314 . Let me know if that solves the issue.

rawaludin commented 8 years ago

whoaa.. thats a lot of options. Let see what'll work..

rawaludin commented 8 years ago

Thanks its worked. I go with string, which result in this: screen shot 2015-12-03 at 9 09 34 pm

ice9js commented 8 years ago

I'm glad I could help.