sindresorhus / editorconfig-sublime

Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
MIT License
1.77k stars 108 forks source link

ST3 doesn't respect .editorconfig settings #37

Closed montchr closed 9 years ago

montchr commented 9 years ago

It seems my .editorconfig file has no effect on how ST3 wants to handle indentation. For example, even in a file where the indentation is clearly tabs, ST3 still thinks I'm using spaces to indent.

Edit: I wish I could provide more information off-the-bat, but this plugin seems like it should be very simple so I'm not sure what to look for that might affect this issue. Am I right in assuming that EditorConfig will override ST3's default indentation preferences on a per-directory basis?

montchr commented 9 years ago

Actually I realized the ST3 setting translate_tabs_to_spaces must be set to false in order for tabbed indentation to work. Makes sense, but like I mentioned, I thought EditorConfig would take precedence over ST3 settings.