From c2b84ccd4be624128a138293fdbc66519b0ed8b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com>
Date: Fri, 8 Oct 2021 20:40:19 +0800
Subject: [PATCH] fix semantic token

---
 package/semanticTokenScope.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/semanticTokenScope.lua b/package/semanticTokenScope.lua
index 40414eb..c08879a 100644
--- a/package/semanticTokenScope.lua
+++ b/package/semanticTokenScope.lua
@@ -13,8 +13,8 @@ return {
     ['method.declaration'] = {'entity.name.function.lua'},
     -- 参数声明 | Parameter declaration
     ['parameter.declaration'] = {'variable.parameter.lua'},
-    -- table的field声明 | Table field access
-    ['property'] = {'variable.other.property.lua'},
+    -- table的field访问 | Table field access
+    ['property'] = {'entity.other.attribute.lua'},
     -- table的field声明 | Table field statement
     ['property.declaration'] = {'entity.other.property.lua'},
     -- Regular variable (modlue-local or otherwise not scoped)
-- 
GitLab