aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/fsharp/highlights.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/queries/fsharp/highlights.scm b/runtime/queries/fsharp/highlights.scm
index 16b969fb6..ba70ea5c6 100644
--- a/runtime/queries/fsharp/highlights.scm
+++ b/runtime/queries/fsharp/highlights.scm
@@ -376,8 +376,9 @@
(unit) @function.call)
((_type
- (long_identifier
- (identifier) @type.builtin))
+ (simple_type
+ (long_identifier
+ (identifier) @type.builtin)))
(#any-of? @type.builtin
"bool" "byte" "sbyte" "int16" "uint16" "int" "uint" "int64" "uint64" "nativeint" "unativeint"
"decimal" "float" "double" "float32" "single" "char" "string" "unit"))
@@ -401,8 +402,9 @@
(attributes
(attribute
(_type
- (long_identifier
- (identifier) @attribute))))
+ (simple_type
+ (long_identifier
+ (identifier) @attribute)))))
(function_or_value_defn
(value_declaration_left
.