nvim-treesitter/tests/query/highlights/gleam/pipe.gleam
2024-01-19 16:58:37 +01:00

18 lines
375 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
}