SublimeText / Origami

Split the window however you like! Create new panes, delete panes, move and clone views from pane to pane.
MIT License
1.21k stars 82 forks source link

Old-style settings do not work anymore #165

Closed kaste closed 3 years ago

kaste commented 3 years ago

Since 55709c6 (Expose all supported settings in the default settings (#159)), released as 2.2.1 the old-school settings don't work, for example origami_auto_close_empty_panes

        auto_close = view.settings().get("origami_auto_close_empty_panes", False)
        auto_close = self.settings().get("auto_close_empty_panes", auto_close)

Since 55709c6 auto_close_empty_panes is always defined, so this code will never fall back to the original settings name.