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/provider/provider.lua | |
parent | 2acaf8a90b8a0b061711b09f830515ac3861cfd2 (diff) | |
download | lua-language-server-8d6d7b1a8c4474f3331d6445031c1a4bad267e06.zip |
cleanup
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 16710ff3..c3a1113a 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -902,3 +902,13 @@ do end end) 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) |