nvim-treesitter/tests/query/highlights/wing/class.w
Riley Bruins e090c5b22d feat(wing): add many missing highlights
...as well as some fold and injection queries.
2024-09-02 09:55:48 +02:00

21 lines
397 B
OpenEdge ABL

bring cloud;
// <- @keyword.import
// ^ @module
class Foo {
// <- @keyword.type
// ^ @type
// ^ @punctuation.bracket
name: str;
//^ @property
// ^ @type.builtin
// ^ @punctuation.delimiter
new(name: str) {
//^ @keyword
// ^ @variable
this.name = name;
// ^ @punctuation.delimiter
// ^ @variable.member
// ^ @operator
}
}