victorporof / Sublime-JSHint

JSHint Gutter for Sublime Text 2 and 3 via node.js
https://github.com/victorporof/Sublime-JSHint
682 stars 71 forks source link

The warning gutter icon appears as a black triangle in some color schemes (SL 3) #94

Open mustafa0x opened 10 years ago

mustafa0x commented 10 years ago

For example, when using the Mac Classic theme:

jshint-gutter-icon-mac-classic

I dug around a bit, and I think it has something to do with the scope argument of add_regions.

jobedom commented 9 years ago

You're right. I use a custom scheme with black keywords (very minimal theme) and also get black triangles.

I've fixed it for now changing the scope from "keyword" to "invalid". Maybe we could add a new scope definition to be used in color schemes, or pick another already existing scope.