Open jisaacks opened 8 years ago
This is a reasonable suggestion to not have to resort to busy waiting. Although I suppose that in your specific example you wouldn't even need this since you are probably checking for other packages' gutter icons for every change in the source file anyway.
I wanted to add a comment to #319 which has been locked.
Note I know that means you are likely not interested in more noise. However, Since most comments are mentioning GitGutter and I am the author of that package, I feel like the information I have to provide here is likely to be welcomed.
GitGutter is going to be cutting a release soon with a new feature called
protected_regions
this will allow the user to set specific named regions (e.g. the regions used by another plugin you want to have priority like SublimeLinter) and GitGutter will not place an icon in the gutter if the gutter is already occupied by that region. (The people on that thread may be interested in knowing that)I feel like this is a better approach then specifying which package has priority because it gives the user fine grained control over what exactly they want to have priority at the region level instead of the package level.
However it would be nice if there was a way to subscribe to the region so I could add the icon if the higher priority region gets removed.