[PATCH] D108584: [clangd] Use the active file's language for hover code blocks

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 24 06:07:01 PDT 2021


sammccall added a comment.

> Likely will send a follow up diff to include more context in the Objective-C decl printing so they highlight properly.

This might make sense if it provides useful context to human readers without too much syntactic weight.
However if the issue is that particular editors are mis-highlighting snippets of ObjC, that's probably rather bugs to file against those editors (or maybe reasons to drop the language and fall back to regular highlighting)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108584/new/

https://reviews.llvm.org/D108584



More information about the cfe-commits mailing list