title: How can I have both Smarty and HTML auto-indentation?
body: <p>I use Smarty with HTML in Visual Studio Code. I would like to have both Smarty and HTML syntax highlighted and properly indented. HTML works by default (highlight, indentation, and autocompletion). I tried to install the Smarty Template Support extension and now both HTML and Smarty are highlighted, but only Smarty is indented properly, not HTML.</p>
  <p>Can I have both somehow?</p>
  <p>P.S. To enable Smarty in html files I've added to <code>settings.json</code>:</p>
  <pre><code>&quot;files.associations&quot;: {
          &quot;*.html&quot;: &quot;smarty&quot;,
          &quot;*.htm&quot;: &quot;smarty&quot;
  },
  </code></pre>