SublimeText / TrailingSpaces

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

Fix modifications of settings & saving #157

Closed FichteFoll closed 1 year ago

FichteFoll commented 1 year ago

Since the settings are accumulated in a ChainMap, they would have to either be accessed via settings.maps[1].save() or via an explicitly named global.

I chose the latter, since it does not rely on the ChainMap order and is more explicit.

The same also applies to writing to the ChainMap before, of course.

Should fix #156 but changes are untested (I simply made the code changes and don't use the package).