[PATCH] D64624: [clangd] Added highlighting to enum constants.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 12 13:58:13 PDT 2019
hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:257
+ case HighlightingKind::EnumConstant:
+ return "constant.other.enum.cpp";
case HighlightingKind::Namespace:
----------------
hokein wrote:
> could you check the tm scope on vscode? They seem to use `variable.other.enummember`.
this comment is undone, vscode is using https://github.com/microsoft/vscode/blob/master/extensions/cpp/syntaxes/cpp.tmLanguage.json#L10024
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64624/new/
https://reviews.llvm.org/D64624
More information about the cfe-commits
mailing list