diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2022-10-22 16:52:46 +0300 |
|---|---|---|
| committer | ObserverOfTime <chronobserver@disroot.org> | 2022-11-26 13:17:51 +0200 |
| commit | 276627849b31d03193801f2e31a47b4e32486228 (patch) | |
| tree | bede94b2d58fa04350cad9020f2afdf370815cc6 /tests | |
| parent | highlights(gdscript): use more specific groups (diff) | |
| download | nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.tar nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.tar.gz nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.tar.bz2 nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.tar.lz nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.tar.xz nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.tar.zst nvim-treesitter-276627849b31d03193801f2e31a47b4e32486228.zip | |
highlights(gleam): use more specific groups
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/query/highlights/gleam/function.gleam | 12 | ||||
| -rw-r--r-- | tests/query/highlights/gleam/type.gleam | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/query/highlights/gleam/function.gleam b/tests/query/highlights/gleam/function.gleam index 89a302706..bc69ec620 100644 --- a/tests/query/highlights/gleam/function.gleam +++ b/tests/query/highlights/gleam/function.gleam @@ -1,5 +1,5 @@ pub fn add(x: Int, y: Int) -> Int { -// <- keyword +// <- type.qualifier // ^ keyword.function // ^ function // ^ punctuation.bracket @@ -18,7 +18,7 @@ pub fn add(x: Int, y: Int) -> Int { // <- punctuation.bracket pub fn twice(f: fn(t) -> t, x: t) -> t { -// <- keyword +// <- type.qualifier // ^ keyword.function // ^ function // ^ punctuation.bracket @@ -100,8 +100,8 @@ fn replace( // <- punctuation.bracket pub external fn random_float() -> Float = "rand" "uniform" -// <- keyword -// ^ keyword +// <- type.qualifier +// ^ type.qualifier // ^ keyword.function // ^ function // ^ punctuation.bracket @@ -113,8 +113,8 @@ pub external fn random_float() -> Float = "rand" "uniform" // ^ function pub external fn inspect(a) -> a = "Elixir.IO" "inspect" -// <- keyword -// ^ keyword +// <- type.qualifier +// ^ type.qualifier // ^ keyword.function // ^ function // ^ punctuation.bracket diff --git a/tests/query/highlights/gleam/type.gleam b/tests/query/highlights/gleam/type.gleam index 08887e021..d25efde34 100644 --- a/tests/query/highlights/gleam/type.gleam +++ b/tests/query/highlights/gleam/type.gleam @@ -1,5 +1,5 @@ pub type Cat { -// <- keyword +// <- type.qualifier // ^ keyword.function // ^ type // ^ punctuation.bracket @@ -53,8 +53,8 @@ type Box(inner_type) { } pub opaque type Counter { -// <- keyword -// ^ keyword +// <- type.qualifier +// ^ type.qualifier // ^ keyword.function // ^ type // ^ punctuation.bracket |
