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

11 lines
222 B
Gleam

pub fn main() {
try x = Ok(1)
// <- exception
// ^ variable
// ^ operator
// ^^ constant.builtin
// ^ punctuation.bracket
// ^ number
// ^ punctuation.bracket
Ok(x + 1)
}