aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/query/highlights/gleam/function.gleam16
-rw-r--r--tests/query/highlights/gleam/type.gleam4
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/query/highlights/gleam/function.gleam b/tests/query/highlights/gleam/function.gleam
index f1924aaf9..15fc5cc7e 100644
--- a/tests/query/highlights/gleam/function.gleam
+++ b/tests/query/highlights/gleam/function.gleam
@@ -5,14 +5,14 @@ pub fn add(x: Int, y: Int) -> Int {
// ^ @punctuation.bracket
// ^ @variable.parameter
// ^ @punctuation.delimiter
-// ^^^ @type.builtin
+// ^^^ @type
// ^ @punctuation.delimiter
// ^ @variable.parameter
// ^ @punctuation.delimiter
-// ^^^ @type.builtin
+// ^^^ @type
// ^ @punctuation.bracket
// ^ @punctuation.delimiter
-// ^^^ @type.builtin
+// ^^^ @type
// ^ @punctuation.bracket
}
// <- @punctuation.bracket
@@ -50,7 +50,7 @@ fn list_of_two(my_value: a) -> List(a) {
// ^ @type
// ^ @punctuation.bracket
// ^ @punctuation.delimiter
-// ^^^^ @type.builtin
+// ^^^^ @type
// ^ @punctuation.bracket
// ^ @type
// ^ @punctuation.bracket
@@ -66,19 +66,19 @@ fn replace(
// <- @label
// ^^^^^^ @variable.parameter
// ^ @punctuation.delimiter
- // ^^^^^^ @type.builtin
+ // ^^^^^^ @type
// ^ @punctuation.delimiter
each pattern: String,
// <- @label
// ^^^^^^^ @variable.parameter
// ^ @punctuation.delimiter
- // ^^^^^^ @type.builtin
+ // ^^^^^^ @type
// ^ @punctuation.delimiter
with replacement: String,
// <- @label
// ^^^^^^^^^^^ @variable.parameter
// ^ @punctuation.delimiter
- // ^^^^^^ @type.builtin
+ // ^^^^^^ @type
// ^ @punctuation.delimiter
) {
replace(in: "A,B,C", each: ",", with: " ")
@@ -107,7 +107,7 @@ pub external fn random_float() -> Float = "rand" "uniform"
// ^ @punctuation.bracket
// ^ @punctuation.bracket
// ^^ @punctuation.delimiter
-// ^^^^^ @type.builtin
+// ^^^^^ @type
// ^ @operator
// ^^^^^^ @module
// ^^^^^^^^^ @function
diff --git a/tests/query/highlights/gleam/type.gleam b/tests/query/highlights/gleam/type.gleam
index 8ee82419e..de0f9c4af 100644
--- a/tests/query/highlights/gleam/type.gleam
+++ b/tests/query/highlights/gleam/type.gleam
@@ -8,11 +8,11 @@ pub type Cat {
// ^ @punctuation.bracket
// ^^^^ @variable.member
// ^ @punctuation.delimiter
- // ^^^^^^ @type.builtin
+ // ^^^^^^ @type
// ^ @punctuation.delimiter
// ^^^^^^^^ @variable.member
// ^ @punctuation.delimiter
- // ^^^ @type.builtin
+ // ^^^ @type
// ^ @punctuation.bracket
}