nvim-treesitter/tests/query/highlights/gleam/pipe.gleam
2022-02-15 19:01:02 +01:00

18 lines
348 B
Gleam

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
}