Skip to content

Commit

Permalink
Correctly classify 'new', add plaintext, fix Namespace name (dotnet#9910
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cartermp authored and nosami committed Feb 22, 2021
1 parent 4aa0e76 commit 8d7578b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classification/ClassificationDefinitions.fs
Expand Up @@ -32,7 +32,7 @@ module internal FSharpClassificationTypes =
| SemanticClassificationType.MutableVar -> MutableVar
| SemanticClassificationType.DisposableValue -> DisposableValue
| SemanticClassificationType.DisposableType -> DisposableType
| SemanticClassificationType.NameSpace -> ClassificationTypeNames.NamespaceName
| SemanticClassificationType.Namespace -> ClassificationTypeNames.NamespaceName
| SemanticClassificationType.Printf -> Printf
| SemanticClassificationType.Exception
| SemanticClassificationType.Module
Expand Down Expand Up @@ -63,6 +63,7 @@ module internal FSharpClassificationTypes =
| SemanticClassificationType.Delegate -> ClassificationTypeNames.DelegateName
| SemanticClassificationType.Value -> ClassificationTypeNames.Identifier
| SemanticClassificationType.LocalValue -> ClassificationTypeNames.LocalName
| SemanticClassificationType.Plaintext -> ClassificationTypeNames.Text

module internal ClassificationDefinitions =

Expand Down

0 comments on commit 8d7578b

Please sign in to comment.