diff options
Diffstat (limited to 'lua/nvim-lsp-installer/ui/state.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/ui/state.lua | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lua/nvim-lsp-installer/ui/state.lua b/lua/nvim-lsp-installer/ui/state.lua index 628b8391..9d7bcdda 100644 --- a/lua/nvim-lsp-installer/ui/state.lua +++ b/lua/nvim-lsp-installer/ui/state.lua @@ -14,13 +14,11 @@ function M.create_state_container(initial_state, subscriber) if not has_unsubscribed then subscriber(state) end - end, - function() - return state - end, - function(val) - has_unsubscribed = val - end + end, function() + return state + end, function(val) + has_unsubscribed = val + end end return M |
