[all-commits] [llvm/llvm-project] 2982bd: [clangd] Use the active file's language for hover ...
David Goldman via All-commits
all-commits at lists.llvm.org
Fri Sep 3 08:38:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2982bd9e9b58ea17bc047ffb9b28df6f92531287
https://github.com/llvm/llvm-project/commit/2982bd9e9b58ea17bc047ffb9b28df6f92531287
Author: David Goldman <davg at google.com>
Date: 2021-09-03 (Fri, 03 Sep 2021)
Changed paths:
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
Log Message:
-----------
[clangd] Use the active file's language for hover code blocks
This helps improve the syntax highlighting for Objective-C code,
although it currently doesn't work well in VS Code with
methods/properties/ivars since we don't currently include the proper
decl context (e.g. class).
Differential Revision: https://reviews.llvm.org/D108584
More information about the All-commits
mailing list