tree-sitter-bp/test/highlight/modules.bp

22 lines
323 B
Plaintext

foo {}
// <- function.call
foo ()
// <- function.call
some_module {
// ^ function.call
field: 12,
// <- variable.parameter
another_field: 27,
// <- variable.parameter
}
some_module (
// ^ function.call
field = 42,
// <- variable.parameter
done = false,
// <- variable.parameter
)