SublimeText / TrailingSpaces

Highlight trailing spaces and delete them in a flash.
MIT License
896 stars 94 forks source link

Remove unused startup queue #141

Closed rchl closed 4 years ago

rchl commented 4 years ago

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.