nvim-treesitter/tests/query/highlights/gleam/pipe.gleam
2023-03-10 02:41:45 -05:00

18 lines
362 B
Gleam

pub fn run() {
1
// <- number
|> add(_, 2)
// <- operator
// ^^^ function.call
// ^ punctuation.bracket
// ^ comment
// ^ punctuation.delimiter
// ^ number
// ^ punctuation.bracket
|> add(3)
// <- operator
// ^^^ function.call
// ^ punctuation.bracket
// ^ number
// ^ punctuation.bracket
}