title: Get current value of a setting in Vim
body: <p>Is there a simple way of finding out the current value of a specified Vim setting? If I want to know the current value of, say <code>tabstop</code>, I can run:</p>
  
  <pre><code>:set tabstop
  </code></pre>
  
  <p>without passing an argument, and Vim will tell me the current value. This is fine for many settings, but it is no good for those that are either true or false. For example, if I want to find out the current value of <code>expandtab</code>, running:</p>
  
  <pre><code>:set expandtab
  </code></pre>
  
  <p>will actually enable <code>expandtab</code>. I just want to find out if it is enabled or not.</p>
  
  <p>This sort of does what I want:</p>
  
  <pre><code>:echo &amp;l:expandtab
  </code></pre>
  
  <p>but it seems quite verbose. Is there a quicker way?</p>