Open heptal opened 8 years ago
This was added in https://github.com/sindresorhus/editorconfig-sublime/pull/19 due to new files not getting the settings from .editorconfig
, and I think this is the expected behavior tbh.
Hmm, well that issue talks about using on_post_save
, but the revert happens before save.
The current window setting should supersede the settings in .editorconfig
Let's say .editorconfig says to indent using spaces. When I edit a file and uncheck 'Indent Using Spaces' in the UI: And Convert Indentation to Tabs: Upon save it uses the .editorconfig settings instead of the UI setting I just set before saving to disk, and then reverts it:
This forces me to temporarily disable the plugin or edit my .editorconfig just to save a file with a non-normal indentation configuration.