mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
Gleam highlight tests
This commit is contained in:
parent
b62750e328
commit
00dce44780
8 changed files with 290 additions and 4 deletions
22
tests/query/highlights/gleam/import.gleam
Normal file
22
tests/query/highlights/gleam/import.gleam
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import gleam/io
|
||||
// <- include
|
||||
// ^ namespace
|
||||
// ^ namespace
|
||||
// ^ namespace
|
||||
|
||||
import cat as kitten
|
||||
// <- include
|
||||
// ^ namespace
|
||||
// ^ keyword
|
||||
// ^ namespace
|
||||
|
||||
import animal/cat.{Cat, stroke}
|
||||
// <- include
|
||||
// ^ namespace
|
||||
// ^ namespace
|
||||
// ^ punctuation.delimiter
|
||||
// ^ punctuation.bracket
|
||||
// ^ type
|
||||
// ^ punctuation.delimiter
|
||||
// ^ function
|
||||
// ^ punctuation.bracket
|
||||
Loading…
Add table
Add a link
Reference in a new issue