<ul dir="auto">
<li>VSCode Version: 1.2.0</li>
<li>OS Version: OSX 10.11.4</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Enter the following syntax into vscode:</li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
exports.listNames = (request, reply) =&gt; {
  const family = request.params.family
  const status = request.params.status || 'done'
  const branch = (status === 'done') ? `master` : `fixes/${family}`

  const listNames = github.listNames.bind(github, branch)

  listNames(family)
  .then((locales) =&gt; { reply(locales) })
  .catch((err) =&gt; {
    request.log(['error', 'github'], err)
    reply(err)
  })
}
"><pre class="notranslate"><span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-en">listNames</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">request</span><span class="pl-kos">,</span> <span class="pl-s1">reply</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
  <span class="pl-k">const</span> <span class="pl-s1">family</span> <span class="pl-c1">=</span> <span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-c1">params</span><span class="pl-kos">.</span><span class="pl-c1">family</span>
  <span class="pl-k">const</span> <span class="pl-s1">status</span> <span class="pl-c1">=</span> <span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-c1">params</span><span class="pl-kos">.</span><span class="pl-c1">status</span> <span class="pl-c1">||</span> <span class="pl-s">'done'</span>
  <span class="pl-k">const</span> <span class="pl-s1">branch</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">status</span> <span class="pl-c1">===</span> <span class="pl-s">'done'</span><span class="pl-kos">)</span> ? <span class="pl-s">`master`</span> : <span class="pl-s">`fixes/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">family</span><span class="pl-kos">}</span></span>`</span>

  <span class="pl-k">const</span> <span class="pl-s1">listNames</span> <span class="pl-c1">=</span> <span class="pl-s1">github</span><span class="pl-kos">.</span><span class="pl-c1">listNames</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-s1">github</span><span class="pl-kos">,</span> <span class="pl-s1">branch</span><span class="pl-kos">)</span>

  <span class="pl-s1">listNames</span><span class="pl-kos">(</span><span class="pl-s1">family</span><span class="pl-kos">)</span>
  <span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">locales</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">reply</span><span class="pl-kos">(</span><span class="pl-s1">locales</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>
  <span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
    <span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'error'</span><span class="pl-kos">,</span> <span class="pl-s">'github'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">err</span><span class="pl-kos">)</span>
    <span class="pl-s1">reply</span><span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span>
  <span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div>
<ol dir="auto">
<li>Anything following the <code class="notranslate">const branch = (status === 'done') ? </code>master<code class="notranslate">:</code>fixes/${family}` is not highlighted properly</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1992255/15932967/13e4dff4-2e5e-11e6-86f3-0e500428c330.png"><img width="704" alt="screen shot 2016-06-09 at 16 20 14" src="https://cloud.githubusercontent.com/assets/1992255/15932967/13e4dff4-2e5e-11e6-86f3-0e500428c330.png" style="max-width: 100%;"></a></p>
<p dir="auto">Under vscode master (0.10.9) with language mode JavaScript.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2193314/12963913/0eee1674-d002-11e5-8d01-08f8609b26e1.png"><img src="https://cloud.githubusercontent.com/assets/2193314/12963913/0eee1674-d002-11e5-8d01-08f8609b26e1.png" alt="ternary" style="max-width: 100%;"></a></p>
<p dir="auto"><code class="notranslate">'amd64'</code> has classes: token block decl expr function meta single string ts var var-single-variable js<br>
<code class="notranslate">'i386'</code> has classes: token <strong>annotation</strong> block decl expr function meta single string ts type var var-single-variable js</p>
<p dir="auto"><code class="notranslate">annotation</code> scope is causing the following theme style to be applied:</p>
<div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=".monaco-editor.vs-dark.vscode-theme-colorful-defaults-themes-dark_plus-tmTheme .token.var.annotation.type.js {
    color: rgba(78, 201, 176, 1);
}"><pre class="notranslate">.<span class="pl-c1">monaco-editor</span>.<span class="pl-c1">vs-dark</span>.<span class="pl-c1">vscode-theme-colorful-defaults-themes-dark_plus-tmTheme</span> .<span class="pl-c1">token</span>.<span class="pl-c1">var</span>.<span class="pl-c1">annotation</span>.<span class="pl-c1">type</span>.<span class="pl-c1">js</span> {
    <span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-en">rgba</span>(<span class="pl-c1">78</span><span class="pl-kos">,</span> <span class="pl-c1">201</span><span class="pl-kos">,</span> <span class="pl-c1">176</span><span class="pl-kos">,</span> <span class="pl-c1">1</span>);
}</pre></div>