SublimeText / WordHighlight

Highlight all copies of the currently selected word.
MIT License
180 stars 24 forks source link

can you add a background color setting option #63

Closed ilovezy closed 9 years ago

ilovezy commented 9 years ago

I think the sometimes the color of comments sometime are to dark to see, qq 20150728212751

I hope you can add a setting options which maybe like this

"wordhighlight_background": "orange", "wordhighlight_font_color": "white"

that will be great help for me since this is the only plugin I can find on sublime, please if it's not too hard

adzenith commented 9 years ago

The way Sublime Text works, we can't specify a color directly. You have to use a color scope name from your color scheme file. Check out the color_scope_name option in the readme.

ilovezy commented 9 years ago

I see, but how can i modify my color scheme file, it look like a zip file qq 20150728231105

adzenith commented 9 years ago

It is indeed a zip file! Easiest is using "Edit Package Resource" from https://github.com/skuroda/PackageResourceViewer.

You can also just pick a different color from the unedited color scheme file.

ilovezy commented 9 years ago

ouch! thanks a lot