<div dir="auto">Yeah. I can see this being useful if lexing got more complicated (e.g. if the committee added string interpolation).<div dir="auto"><br></div><div dir="auto">But as it stands, I think we should be doing the simplest thing if performance doesn't matter, and the minimal thing if it does.</div><div dir="auto"><br></div><div dir="auto">Alternately we could highlight *everything* (including braces and such) to allow editors without local highlighting. But I doubt they'll ever exist, the flickering would be so bad.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 25, 2019, 9:59 AM Ilya Biryukov via clangd-dev <<a href="mailto:clangd-dev@lists.llvm.org">clangd-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi clangd-dev,<div><br></div><div>I was wondering whether there's any value in the highlighting for "primitive" types being added on keywords like 'void', 'int', etc?</div><div><br></div><div>- Any editor handles those with default syntax highlight.</div><div>- It's trivial and does not require actual semantic knowledge.</div><div><br></div><div>With that in mind, I wonder whether we should drop this completely and just let the editors handle the keywords?</div><div>What do people think?<br clear="all"><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div></div></div>
_______________________________________________<br>
clangd-dev mailing list<br>
<a href="mailto:clangd-dev@lists.llvm.org" target="_blank" rel="noreferrer">clangd-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev" rel="noreferrer noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev</a><br>
</blockquote></div>