update readme of log path, remove lspinstaller logs

neovim_0.6
ray-x 2 years ago
parent 45e0698d00
commit 1f3ae4a675

@ -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

@ -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

Loading…
Cancel
Save