summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Sun <lin.sun@zoom.us>2021-08-04 00:31:07 +0000
committerLin Sun <lin.sun@zoom.us>2021-08-04 00:31:07 +0000
commitafdae06667a72acf63882280332d27d843cf2e61 (patch)
tree95bbff20bf92277f48bce34efb4aaf95306a57d5
parent65421e8edefbd7d23e0ba1b41bbb50f5a221bf8c (diff)
downloadlua-language-server-afdae06667a72acf63882280332d27d843cf2e61.zip
"workspace/semanticTokens/refresh" should be a request
-rw-r--r--script/provider/semantic-tokens.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/semantic-tokens.lua b/script/provider/semantic-tokens.lua
index 4f2d8177..448bbe2a 100644
--- a/script/provider/semantic-tokens.lua
+++ b/script/provider/semantic-tokens.lua
@@ -103,7 +103,7 @@ end
local function refresh()
log.debug('Refresh semantic tokens.')
- proto.notify('workspace/semanticTokens/refresh', json.null)
+ proto.request('workspace/semanticTokens/refresh', json.null)
end
config.watch(function (key, value)