From fa38f4e6f94b4e67fb80af21178dba3b422efb12 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 10 Jan 2024 18:05:37 +0200 Subject: fix(highlights): improve member/property distinction --- tests/query/highlights/ecma/test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/query/highlights/ecma') diff --git a/tests/query/highlights/ecma/test.ts b/tests/query/highlights/ecma/test.ts index ecdfa8929..fa926f930 100644 --- a/tests/query/highlights/ecma/test.ts +++ b/tests/query/highlights/ecma/test.ts @@ -1,15 +1,15 @@ class H { pub_field = "Hello"; - // ^ @property + // ^ @variable.member #priv_field = "World!"; - // ^ @property + // ^ @variable.member #private_method() { // ^ @function.method return `${this.pub_field} -- ${this.#priv_field}`; - // ^ @property - // ^ @property + // ^ @variable.member + // ^ @variable.member } public_method() { -- cgit v1.2.3-70-g09d2