mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
Gleam highlight tests
This commit is contained in:
parent
b62750e328
commit
00dce44780
8 changed files with 290 additions and 4 deletions
13
tests/query/highlights/gleam/assert.gleam
Normal file
13
tests/query/highlights/gleam/assert.gleam
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pub fn main() {
|
||||
assert Ok(i) = parse_int("123")
|
||||
// <- exception
|
||||
// ^ type
|
||||
// ^ punctuation.bracket
|
||||
// ^ variable
|
||||
// ^ punctuation.bracket
|
||||
// ^ operator
|
||||
// ^ function
|
||||
// ^ punctuation.bracket
|
||||
// ^ string
|
||||
// ^ punctuation.bracket
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue