diff options
| author | William Boman <william@redwill.se> | 2022-04-30 15:44:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-30 15:44:37 +0200 |
| commit | cd4dac02a3bb5431979b0812a80dadf6ee088f5e (patch) | |
| tree | 17eef2c3f9a11818accc93e98029ded1baf92998 /doc | |
| parent | Update CUSTOM_SERVERS.md (diff) | |
| download | mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.tar mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.tar.gz mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.tar.bz2 mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.tar.lz mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.tar.xz mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.tar.zst mason-cd4dac02a3bb5431979b0812a80dadf6ee088f5e.zip | |
feat: allow excluding servers from automatic installation (#643)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-lsp-installer.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt index b9b05e55..68f865d8 100644 --- a/doc/nvim-lsp-installer.txt +++ b/doc/nvim-lsp-installer.txt @@ -158,8 +158,8 @@ Refer to the |nvim-lsp-installer-default-settings| for all available settings. Example: > require("nvim-lsp-installer").setup({ - ensure_installed = { "rust_analyzer", "sumneko_lua" }, - automatic_installation = true, + ensure_installed = { "rust_analyzer", "sumneko_lua" }, -- ensure these servers are always installed + automatic_installation = true, -- automatically detect which servers to install (based on which servers are set up via lspconfig) ui = { icons = { server_installed = "✓", @@ -177,6 +177,11 @@ The following settings are applied by default. > -- A list of servers to automatically install if they're not already installed. Example: { "rust_analyzer", "sumneko_lua" } ensure_installed = {}, -- Whether servers that are set up (via lspconfig) should be automatically installed if they're not already installed. + -- 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 = { |
