I don't see how startup_queue can ever be non-empty with current code.
match_trailing_spaces is only called from our implementations of
sublime_plugin.EventListener and those are guaranteed to exist only
when plugin_loaded was called and where we have settings initialized
already.
Testing by starting sublime and switching files before plugins have
loaded also proves my theory.
I don't see how startup_queue can ever be non-empty with current code.
match_trailing_spaces
is only called from our implementations ofsublime_plugin.EventListener
and those are guaranteed to exist only whenplugin_loaded
was called and where we have settings initialized already.Testing by starting sublime and switching files before plugins have loaded also proves my theory.