diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-07 19:10:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-07 19:10:51 +0800 |
commit | 8d6d7b1a8c4474f3331d6445031c1a4bad267e06 (patch) | |
tree | 90b627e65366e3ae423cc748566e14dc395009fa /script/service | |
parent | 2acaf8a90b8a0b061711b09f830515ac3861cfd2 (diff) | |
download | lua-language-server-8d6d7b1a8c4474f3331d6445031c1a4bad267e06.zip |
cleanup
Diffstat (limited to 'script/service')
-rw-r--r-- | script/service/service.lua | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/script/service/service.lua b/script/service/service.lua index bd9c425f..8278bbbe 100644 --- a/script/service/service.lua +++ b/script/service/service.lua @@ -10,7 +10,6 @@ local files = require 'files' local lang = require 'language' local ws = require 'workspace' local time = require 'bee.time' -local config = require 'config' local m = {} m.type = 'service' @@ -199,16 +198,6 @@ function m.reportStatus() proto.notify('$/status/report', info) end -config.watch(function (key, value) - if key == 'Lua.window.statusBar' then - if value then - proto.notify('$/status/show') - else - proto.notify('$/status/hide') - end - end -end) - function m.testVersion() local stack = debug.setcstacklimit(200) debug.setcstacklimit(stack + 1) @@ -233,6 +222,8 @@ function m.start() require 'provider' m.startTimer() + + ws.reload() end return m |