aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/ui
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/ui')
-rw-r--r--lua/nvim-lsp-installer/ui/display.lua4
-rw-r--r--lua/nvim-lsp-installer/ui/status-win/init.lua12
2 files changed, 8 insertions, 8 deletions
diff --git a/lua/nvim-lsp-installer/ui/display.lua b/lua/nvim-lsp-installer/ui/display.lua
index 3e0fa775..27aca167 100644
--- a/lua/nvim-lsp-installer/ui/display.lua
+++ b/lua/nvim-lsp-installer/ui/display.lua
@@ -199,8 +199,8 @@ function M.new_view_only_win(name)
local draw = process.debounced(function(view)
local win_valid = win_id ~= nil and vim.api.nvim_win_is_valid(win_id)
local buf_valid = bufnr ~= nil and vim.api.nvim_buf_is_valid(bufnr)
- log.fmt_debug("got bufnr=%s", bufnr)
- log.fmt_debug("got win_id=%s", win_id)
+ log.fmt_trace("got bufnr=%s", bufnr)
+ log.fmt_trace("got win_id=%s", win_id)
if not win_valid or not buf_valid then
-- the window has been closed or the buffer is somehow no longer valid
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