mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
Gleam highlight tests
This commit is contained in:
parent
b62750e328
commit
00dce44780
8 changed files with 290 additions and 4 deletions
11
tests/query/highlights/gleam/try.gleam
Normal file
11
tests/query/highlights/gleam/try.gleam
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
pub fn main() {
|
||||
try x = Ok(1)
|
||||
// <- keyword
|
||||
// ^ variable
|
||||
// ^ operator
|
||||
// ^ type
|
||||
// ^ punctuation.bracket
|
||||
// ^ number
|
||||
// ^ punctuation.bracket
|
||||
Ok(x + 1)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue