Skip to content

Commit

Permalink
feat(Util.fs): Add ConstantName and DelegateName to semantic tokens
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
  • Loading branch information
tcx4c70 committed Feb 27, 2023
1 parent 1b0fb13 commit f0bbc21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CSharpLanguageServer/Util.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ let unwindProtect cleanupFn op =
let ClassificationTypeMap = Map [
(ClassificationTypeNames.ClassName, "class");
(ClassificationTypeNames.Comment, "comment");
(ClassificationTypeNames.ConstantName, "property");
(ClassificationTypeNames.ControlKeyword, "keyword");
(ClassificationTypeNames.DelegateName, "class");
(ClassificationTypeNames.EnumMemberName, "enumMember");
(ClassificationTypeNames.EnumName, "enum");
(ClassificationTypeNames.EventName, "event");
Expand Down

0 comments on commit f0bbc21

Please # to comment.