title: Sublime Text Indentation Settings Being Overwritten By a File
body: <p>I am working on a project where tab size is supposed to be 4 and tabs should not be spaces. I updated my Preferences.sublime-settings file to include</p>
  
  <pre><code>"detect_indentation": "false",
  "tab_size": 4,
  "translate_tabs_to_spaces": false,
  </code></pre>
  
  <p>When I open a new file these settings are set to how I want and everything works. However, if I open an existing file (scss or html) that has indentations as 2 spaces, my Sublime settings are overwritten and indentations change to 2 spaces. If I click View > Indentation I see that Tab Size is set to 2 and Indent Using Spaces is enabled, even though my preferences should be the opposite of that. </p>
  
  <p>If I manually change Indentation via View > Indentation to Tab Width: 4 and deselect Indent Using Spaces, this works until I save the file, at which point the settings revert to Tab Width 2 and Indent Using Spaces turned on.</p>
  
  <p>How can I force Sublime Text to honor my indentation preferences and not be overwritten by another file. I would assume that Sublime is detecting the indentations on the page, but I've turned that setting off. </p>
  
  <p>Here is my preferences file showing that things should be working:</p>
  
  <p><img src="https://i.imgur.com/skJl4Ac.png?1" alt="preferences file"></p>
  
  <p>Here are the messed up settings for a scss file. All I did was open it:</p>
  
  <p><img src="https://i.imgur.com/kVjjxv5.png?1" alt="incorrect indentation settings"></p>
  
  <p>I don't think any plugin is causing this, I disabled most of them and was still experiencing this issue. However, for reference, here is a list of all packages I have installed:</p>
  
  <ul>
  <li>Alignment</li>
  <li>BracketHighlighter</li>
  <li>Capybara Snippets</li>
  <li>ColorPicker</li>
  <li>Dotfiles Syntax Highlighting</li>
  <li>EditorConfig</li>
  <li>Emmet</li>
  <li>ERB Snippets</li>
  <li>Gem Browser</li>
  <li>Gist</li>
  <li>Git</li>
  <li>GitGutter</li>
  <li>Haml</li>
  <li>jQuery</li>
  <li>JSHint</li>
  <li>Package Control</li>
  <li>Pretty JSON</li>
  <li>PyV8</li>
  <li>RSpec</li>
  <li>SCSS</li>
  <li>SideBarEnahancements</li>
  <li>SublimeLinter</li>
  <li>Terminal</li>
  <li>TrailingSpaces</li>
  </ul>
  
  <p>Thanks in advance for any help.</p>