title: vim syntax doesn't work at all
body: <p>I'm a beginner of vim, so I don't really know how vim work. And here I've got a problem. I can't use syntax in vim, it only works in some documents, such as
  <code>vimrc</code> or the documents with <code>.vim</code>.</p>
  
  <p>If I add <code>.vim</code> behind the document syntax run well, but another extension name 
  then syntax doesn't work. I tried to fix it by modifying <code>/etc/vim/vimrc</code>:</p>
  
  <pre><code>add
  syntax on
  set background=dark
  set hlsearch
  set number
  </code></pre>
  
  <p>Every time I open a new file I can see the number on each line and the dark background, only syntax doesn't work .</p>
  
  <p>Maybe this is too easy to you guys but I can't find any way to fix this. Can someone tell me what I did wrong?</p>
  
  <p>By the way I'm using Kali Linux (x64).</p>