facelessuser wrote:I do do a number of score selectors, but not as many as you would think.
I grab the scope name from the selection and then compare all of the theme scopes with score_selector. Once I determine the best matches, I add the scope name with the best theme scope matches for foreground, background, etc. to the dictionary and never have to run score_selector on the same scope again.
I don't notice much of a difference with the ST2 version and the ST3 version for this plugin.
That's a clever use of memoization