diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-12-24 12:52:21 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-19 16:58:37 +0100 |
| commit | 10dd49958c96f86c8247c715bd20a6681afc1d8b (patch) | |
| tree | 511849caff160e818f4dd08a6106137dcadb620d /tests/query/highlights/tiger/object-oriented.tig | |
| parent | feat(injections): add printf format strings (diff) | |
| download | nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.gz nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.bz2 nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.lz nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.xz nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.zst nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.zip | |
chore(tests): consistent captures
Diffstat (limited to 'tests/query/highlights/tiger/object-oriented.tig')
| -rw-r--r-- | tests/query/highlights/tiger/object-oriented.tig | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/query/highlights/tiger/object-oriented.tig b/tests/query/highlights/tiger/object-oriented.tig index b09b82b19..607efec8c 100644 --- a/tests/query/highlights/tiger/object-oriented.tig +++ b/tests/query/highlights/tiger/object-oriented.tig @@ -1,29 +1,29 @@ let class A extends Object {} - /* <- keyword */ - /* ^ keyword */ - /* ^ type.builtin */ + /* <- @keyword */ + /* ^ @keyword */ + /* ^ @type.builtin */ type B = class extends A { - /* ^ keyword */ - /* ^ keyword */ - /* ^ type */ + /* ^ @keyword */ + /* ^ @keyword */ + /* ^ @type */ var a := 12 method meth() : int = self.a - /* <- keyword.function */ - /* ^ method */ - /* ^ variable.builtin */ + /* <- @keyword.function */ + /* ^ @method */ + /* ^ @variable.builtin */ } var object := new B - /* ^ keyword.operator */ + /* ^ @keyword.operator */ in object.a := 27; - /* ^ property */ + /* ^ @property */ object.meth() - /* ^ method */ + /* ^ @method */ end /* vim: set ft=tiger: */ |
