File tree 2 files changed +15
-5
lines changed
2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
# changelog
2
2
3
+ ## 2.4.2
4
+ * ` FIX ` [ #709 ] ( https://github.com./sumneko/lua-language-server/issues/709 )
5
+
3
6
## 2.4.1
4
7
` 2021-10-2 `
5
8
* ` FIX ` broken with single file
Original file line number Diff line number Diff line change 867
867
end )
868
868
end
869
869
870
+ local function refreshStatusBar ()
871
+ local value = config .get ' Lua.window.statusBar'
872
+ if value then
873
+ proto .notify (' $/status/show' )
874
+ else
875
+ proto .notify (' $/status/hide' )
876
+ end
877
+ end
878
+
870
879
config .watch (function (key , value )
871
880
if key == ' Lua.window.statusBar' then
872
- if value then
873
- proto .notify (' $/status/show' )
874
- else
875
- proto .notify (' $/status/hide' )
876
- end
881
+ refreshStatusBar ()
877
882
end
878
883
end )
879
884
885
+ proto .on (' $/status/refresh' , refreshStatusBar )
886
+
880
887
files .watch (function (ev , uri )
881
888
if not workspace .isReady () then
882
889
return
You can’t perform that action at this time.
0 commit comments