Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit e0d7fe2

Browse files
vasily-kirichenkoKevinRansom
authored andcommitted
Highlight "raise", "reraise", "typeof", "typedefof", "sizeof", "nameof" as keywords (dotnet#2475)
* highlight "raise", "reraise", "typeof", "typedefof", "sizeof", "nameof" as keywords * fix compilation * colorize forgotten "int8" and "uint8" as keywords
1 parent 77cf3d3 commit e0d7fe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Classification/ClassificationDefinitions.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ module internal FSharpClassificationTypes =
4040
| SemanticClassificationType.MutableVar -> MutableVar
4141
| SemanticClassificationType.Printf -> Printf
4242
| SemanticClassificationType.ComputationExpression
43-
| SemanticClassificationType.IntrinsicType -> Keyword
43+
| SemanticClassificationType.IntrinsicType
44+
| SemanticClassificationType.IntrinsicFunction -> Keyword
4445
| SemanticClassificationType.UnionCase
4546
| SemanticClassificationType.Enumeration -> Enum
4647
| SemanticClassificationType.Property -> Property

0 commit comments

Comments
 (0)