diff options
Diffstat (limited to 'lua/nvim-lsp-installer/ui/status-win/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/ui/status-win/init.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/nvim-lsp-installer/ui/status-win/init.lua b/lua/nvim-lsp-installer/ui/status-win/init.lua index 7ac5da64..57b215e4 100644 --- a/lua/nvim-lsp-installer/ui/status-win/init.lua +++ b/lua/nvim-lsp-installer/ui/status-win/init.lua @@ -1,7 +1,7 @@ local Ui = require "nvim-lsp-installer.ui" local fs = require "nvim-lsp-installer.fs" local settings = require "nvim-lsp-installer.settings" -local Log = require "nvim-lsp-installer.log" +local log = require "nvim-lsp-installer.log" local Data = require "nvim-lsp-installer.data" local display = require "nvim-lsp-installer.ui.display" @@ -275,7 +275,7 @@ local function init(all_servers) state.servers[server.name].installer.is_running = true end) - Log.debug("Starting install", server.name, requested_version) + log.debug("Starting install", server.name, requested_version) server:install_attached({ requested_server_version = requested_version, @@ -302,7 +302,7 @@ local function init(all_servers) }, function(success) mutate_state(function(state) -- can we log each line separately? - Log.debug("Installer output", server.name, state.servers[server.name].installer.tailed_output) + log.debug("Installer output", server.name, state.servers[server.name].installer.tailed_output) if success then -- release stdout/err output table.. hopefully ¯\_(ツ)_/¯ state.servers[server.name].installer.tailed_output = {} @@ -343,10 +343,10 @@ local function init(all_servers) return { open = open, install_server = function(server, version) - Log.debug("Installing server", server, version) + log.debug("Installing server", server, version) local server_state = get_state().servers[server.name] if server_state and (server_state.installer.is_running or server_state.installer.is_queued) then - Log.debug("Installer is already queued/running", server.name) + log.debug("Installer is already queued/running", server.name) return end mutate_state(function(state) @@ -359,7 +359,7 @@ local function init(all_servers) uninstall_server = function(server) local server_state = get_state().servers[server.name] if server_state and (server_state.installer.is_running or server_state.installer.is_queued) then - Log.debug("Installer is already queued/running", server.name) + log.debug("Installer is already queued/running", server.name) return end |
