summaryrefslogtreecommitdiff
path: root/script/service.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-05-15 19:16:42 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-05-15 19:16:42 +0800
commitb17a7ec335b2702dd3562ab2d3380effba08a51a (patch)
tree804485ea67d40e9b2270ba204ff0c3d54890b691 /script/service.lua
parentaeae9df8137820f1c64fe528b96dfbb9b1348eb5 (diff)
downloadlua-language-server-b17a7ec335b2702dd3562ab2d3380effba08a51a.zip
更新一波语义着色
Diffstat (limited to 'script/service.lua')
-rw-r--r--script/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service.lua b/script/service.lua
index 88e8448c..1e3f7108 100644
--- a/script/service.lua
+++ b/script/service.lua
@@ -774,7 +774,7 @@ function mt:onUpdateConfig(updated, other)
capability.completion.disable(self)
end
if newConfig.color.mode == 'Semantic' then
- capability.semantic.enable()
+ capability.semantic.enable(self)
else
capability.semantic.disable()
end