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

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 24 01:27:42 PDT 2021


kadircet added a comment.

thanks, mostly looks good. any reason for not doing it centrally though ?



================
Comment at: clang-tools-extra/clangd/Hover.cpp:1024
   HI->SymRange = halfOpenToRange(SM, HighlightRange);
 
   return HI;
----------------
can we set it once around here instead?


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