diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-28 17:40:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-28 17:40:11 +0800 |
commit | 9de4be8cfdc13cca9d672b708fa4699116a9a82a (patch) | |
tree | e9f41b4466792d889e5ae3893bf00f919cb91419 /script/provider/provider.lua | |
parent | 6bc61fd0667b0f05ed225fe0f108e7ce96279291 (diff) | |
download | lua-language-server-9de4be8cfdc13cca9d672b708fa4699116a9a82a.zip |
config of progress
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index cac91acf..894b8ef2 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -83,6 +83,11 @@ local function updateConfig() else semantic.disable() end + if newConfig.window.statusBar then + proto.notify('$/status/show') + else + proto.notify('$/status/hide') + end end proto.on('initialize', function (params) |