diff options
| author | Louis Pilfold <louis@lpil.uk> | 2024-06-17 15:23:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-17 07:23:06 -0700 |
| commit | 09953e394b202877b82aa2688a140bdd75afaf2a (patch) | |
| tree | e2eda88d402e9376923356caf3b4c7f99bf7c3a6 /tests | |
| parent | fix(markdown): conceal nbsp entity as space (#6778) (diff) | |
| download | nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.tar nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.tar.gz nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.tar.bz2 nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.tar.lz nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.tar.xz nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.tar.zst nvim-treesitter-09953e394b202877b82aa2688a140bdd75afaf2a.zip | |
fix(gleam): remove incorrect builtin highlight (#6757)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/query/highlights/gleam/function.gleam | 16 | ||||
| -rw-r--r-- | tests/query/highlights/gleam/type.gleam | 4 |
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 } |
