From bc7233545056f7bcfc2b50ba476099fa191701de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 22 Oct 2020 14:34:04 +0800 Subject: =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/provider/semantic-tokens.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'script-beta/provider') diff --git a/script-beta/provider/semantic-tokens.lua b/script-beta/provider/semantic-tokens.lua index a8b1b23f..96db324e 100644 --- a/script-beta/provider/semantic-tokens.lua +++ b/script-beta/provider/semantic-tokens.lua @@ -1,6 +1,5 @@ local proto = require 'proto' -local tokenTypes = require 'define.TokenTypes' -local tokenModifiers = require 'define.TokenModifiers' +local define = require 'proto.define' local client = require 'provider.client' local isEnable = false @@ -32,8 +31,8 @@ local function enable() method = 'textDocument/semanticTokens/full', registerOptions = { legend = { - tokenTypes = toArray(tokenTypes), - tokenModifiers = toArray(tokenModifiers), + tokenTypes = toArray(define.TokenTypes), + tokenModifiers = toArray(define.TokenModifiers), }, range = true, full = false, -- cgit v1.2.3