tree-sitter-bp/test/highlight/modules.bp
Bruno BELANYI a9ec312792 Add modules highlighting
Still debating whether modules should be highlighted as namespaces or as
function calls.
2024-04-09 12:28:28 +01:00

22 lines
261 B
Plaintext

foo {}
// <- module
foo ()
// <- module
foo {
// <- module
field: 12,
// <- variable.member
another_field: 27,
// <- variable.member
}
foo (
// <- module
field = 42,
// <- variable.member
done = false,
// <- variable.member
)