nvim-treesitter/tests/query/highlights/gleam/pipe.gleam

19 lines
375 B
Gleam
Raw Normal View History

2022-02-12 17:58:14 -08:00
pub fn run() {
1
2023-12-24 12:52:21 +01:00
// <- @number
2022-02-12 17:58:14 -08:00
|> add(_, 2)
2023-12-24 12:52:21 +01:00
// <- @operator
// ^^^ @function.call
// ^ @punctuation.bracket
// ^ @comment
// ^ @punctuation.delimiter
// ^ @number
// ^ @punctuation.bracket
2022-02-12 17:58:14 -08:00
|> add(3)
2023-12-24 12:52:21 +01:00
// <- @operator
// ^^^ @function.call
// ^ @punctuation.bracket
// ^ @number
// ^ @punctuation.bracket
2022-02-12 17:58:14 -08:00
}