mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
Gleam highlight tests
This commit is contained in:
parent
b62750e328
commit
00dce44780
8 changed files with 290 additions and 4 deletions
18
tests/query/highlights/gleam/pipe.gleam
Normal file
18
tests/query/highlights/gleam/pipe.gleam
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pub fn run() {
|
||||
1
|
||||
// <- number
|
||||
|> add(_, 2)
|
||||
// <- operator
|
||||
// ^ function
|
||||
// ^ punctuation.bracket
|
||||
// ^ comment
|
||||
// ^ punctuation.delimiter
|
||||
// ^ number
|
||||
// ^ punctuation.bracket
|
||||
|> add(3)
|
||||
// <- operator
|
||||
// ^ function
|
||||
// ^ punctuation.bracket
|
||||
// ^ number
|
||||
// ^ punctuation.bracket
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue