From b8a02bf2ec173c48d207644089e3b6879e8c4e9e Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 3 May 2022 21:36:21 +0200 Subject: docs: add comments mentioning ensure_installed has no relation with automatic_installation ensure_installed is used as a hard-coded list of servers to always install, no matter if they're setup or not. automatic_installation is used to automatically detect which servers needs to be installed, based on which servers are setup via lspconfig. --- doc/nvim-lsp-installer.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt index ed8258b2..9625803d 100644 --- a/doc/nvim-lsp-installer.txt +++ b/doc/nvim-lsp-installer.txt @@ -176,15 +176,20 @@ The following settings are applied by default. > local DEFAULT_SETTINGS = { -- A list of servers to automatically install if they're not already installed. Example: { "rust_analyzer", "sumneko_lua" } + -- This setting has no relation with the `automatic_installation` setting. ensure_installed = {}, + -- Whether servers that are set up (via lspconfig) should be automatically installed if they're not already installed. + -- This setting has no relation with the `ensure_installed` setting. -- Can either be: -- - false: Servers are not automatically installed. -- - true: All servers set up via lspconfig are automatically installed. -- - { exclude: string[] }: All servers set up via lspconfig, except the ones provided in the list, are automatically installed. -- Example: automatic_installation = { exclude = { "rust_analyzer", "solargraph" } } automatic_installation = false, + ui = { + icons = { -- The list icon to use for installed servers. server_installed = "◍", -- cgit v1.2.3-70-g09d2