Had a look at 8b904c6 and found some possible edge cases to fix.
While looking into it, I found the (default) marker not to be added to color_scheme and theme completions. Fixed it by extending the format_completion_item().
Finally found the color_scheme completions missing the sublime-color-scheme files and fixed it.
Note:
The extended format_completion_item() could be used in _completions_from_comment() and _completions_from_default() to add the (default) mark, which would result in _marked_default_completions() not being needed anymore. Left that for now as I am not sure whether it was the better alternative.
The main reason for extending format_completion_item() was to avoid breaking the description part of the completion label by calling _marked_default_completions() on color_scheme, encoding or theme completions.
Had a look at 8b904c6 and found some possible edge cases to fix.
While looking into it, I found the
(default)
marker not to be added tocolor_scheme
andtheme
completions. Fixed it by extending theformat_completion_item()
.Finally found the
color_scheme
completions missing thesublime-color-scheme
files and fixed it.Note:
The extended
format_completion_item()
could be used in_completions_from_comment()
and_completions_from_default()
to add the(default)
mark, which would result in_marked_default_completions()
not being needed anymore. Left that for now as I am not sure whether it was the better alternative.The main reason for extending
format_completion_item()
was to avoid breaking the description part of the completion label by calling_marked_default_completions()
on color_scheme, encoding or theme completions.