title: Proper way to create a syntax file in vim that depends on another syntax file
body: <p>I am currently creating a Vim syntax file for WordPress and have it inside a file called <code>wordpress.vim</code></p>
  
  <p>All WordPress files are PHP files but not all PHP files are WordPress files.</p>
  
  <p>My <code>wordpress.vim</code> syntax file depends on the php syntax file. So I have included it using the following line</p>
  
  <pre><code>so &lt;sfile&gt;:p:h/php.vim
  </code></pre>
  
  <p>My question is what is the most elegant way to include all PHP syntax into WordPress syntax and where should I put the the new <code>wordpress.vim</code> file that I have created.</p>