From a7d7520bc84269fd29ae265f6142897ccd58d5c6 Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 30 Sep 2021 21:41:49 +0200 Subject: fix logging at correct level, also add :LspInstallLog command --- lua/nvim-lsp-installer/settings.lua | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'lua/nvim-lsp-installer/settings.lua') diff --git a/lua/nvim-lsp-installer/settings.lua b/lua/nvim-lsp-installer/settings.lua index ec7f622b..eb01c78c 100644 --- a/lua/nvim-lsp-installer/settings.lua +++ b/lua/nvim-lsp-installer/settings.lua @@ -10,18 +10,14 @@ local DEFAULT_SETTINGS = { }, }, - -- Controls to which degree logs are written to the log file. For example, it's useful to set this to - -- vim.log.levels.TRACE when debugging issues with server installations. + -- Controls to which degree logs are written to the log file. It's useful to set this to vim.log.levels.DEBUG when + -- debugging issues with server installations. log_level = vim.log.levels.WARN, - -- Whether to allow LSP servers to share the same installation directory. - -- For some servers, this effectively causes more than one server to be - -- installed (and uninstalled) when executing `:LspInstall` and - -- `:LspUninstall`. - - -- For example, installing `cssls` will also install both `jsonls` and `html` - -- (and the other ways around), as these all share the same underlying - -- package. + -- Whether to allow LSP servers to share the same installation directory. For some servers, this effectively causes + -- more than one server to be installed (and uninstalled) when executing `:LspInstall` and `:LspUninstall`. For + -- example, installing `cssls` will also install both `jsonls` and `html` (and the other ways around), as these all + -- share the same underlying package. allow_federated_servers = true, } -- cgit v1.2.3-70-g09d2