From 1f3ae4a6751299ad772185405d3ddb497a169386 Mon Sep 17 00:00:00 2001 From: ray-x Date: Wed, 19 Jan 2022 08:02:33 +1100 Subject: [PATCH] update readme of log path, remove lspinstaller logs --- README.md | 2 +- lua/navigator/lspclient/clients.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 33f4ac1..40ba90f 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ Nondefault configuration example: ```lua require'navigator'.setup({ - debug = false, -- log output, set to true and log path: ~/.local/share/nvim/gh.log + debug = false, -- log output, set to true and log path: ~/.cache/nvim/gh.log width = 0.75, -- max width ratio (number of cols for the floating window) / (window width) height = 0.3, -- max list window height, 0.3 by default preview_height = 0.35, -- max height of preview windows diff --git a/lua/navigator/lspclient/clients.lua b/lua/navigator/lspclient/clients.lua index bb34918..bf426b5 100644 --- a/lua/navigator/lspclient/clients.lua +++ b/lua/navigator/lspclient/clients.lua @@ -545,9 +545,9 @@ local function lsp_startup(ft, retry, user_lsp_opts) if has_lspinst and _NgConfigValues.lsp_installer then local installed, installer_cfg = require('nvim-lsp-installer.servers').get_server(lspconfig[lspclient].name) - log('lsp installer server', installer_cfg, lspconfig[lspclient].name) - log('options', installer_cfg:get_default_options()) + log('lsp installer server config', installer_cfg, lspconfig[lspclient].name) if installed and installer_cfg then + log('options', installer_cfg:get_default_options()) cfg.cmd = { installer_cfg.root_dir .. path_sep .. installer_cfg.name } end end