title: How do I override the default tabindent for Ruby in Vim?
body: <p>I'm using <a href="https://github.com/carlhuda/janus" rel="noreferrer">Janus</a> for vim and am really liking it, but I can't seem to get my preferred tabstop of 4 working right. This is in my <code>.vimrc</code></p>
  
  <pre><code>set tabstop=4
  set shiftwidth=4
  set softtabstop=4
  set expandtab
  </code></pre>
  
  <p>Later on I have</p>
  
  <pre><code>filetype plugin indent on
  </code></pre>
  
  <p>But all of my ruby files keep using the default version of 2, which I just don't like. I've tried following the instructions on <a href="http://vim.wikia.com/wiki/Indenting_source_code" rel="noreferrer">this page</a>, including creating a <code>ruby.vim</code> file in the after folder (and in the <code>indent</code> folder that janus created). I've added:</p>
  
  <pre><code>au FileType ruby set softtabstop=4 tabstop=4 shiftwidth=4
  </code></pre>
  
  <p>to my .vimrc, but none of those work.</p>
  
  <p>I can manually call <code>set tabstop</code>, etc from command mode, which works, but that's not a great solution.</p>
  
  <p>What's missing?</p>