aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-04-29 13:32:59 +0200
committerGitHub <noreply@github.com>2022-04-29 13:32:59 +0200
commit016cd4bdfd7740d71fae024162a47b8e8a72af03 (patch)
tree2314a87e2a8e2c88948ed8ea3e86c02f0cfdd8d4 /doc
parentfix!(arduino_language_server): dont install arduino-cli and clangd (#640) (diff)
downloadmason-016cd4bdfd7740d71fae024162a47b8e8a72af03.tar
mason-016cd4bdfd7740d71fae024162a47b8e8a72af03.tar.gz
mason-016cd4bdfd7740d71fae024162a47b8e8a72af03.tar.bz2
mason-016cd4bdfd7740d71fae024162a47b8e8a72af03.tar.lz
mason-016cd4bdfd7740d71fae024162a47b8e8a72af03.tar.xz
mason-016cd4bdfd7740d71fae024162a47b8e8a72af03.tar.zst
mason-016cd4bdfd7740d71fae024162a47b8e8a72af03.zip
feat: add 'automatic_installation' feature toggle to setup options (#638)
Diffstat (limited to 'doc')
-rw-r--r--doc/nvim-lsp-installer.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt
index 75b9e242..b9b05e55 100644
--- a/doc/nvim-lsp-installer.txt
+++ b/doc/nvim-lsp-installer.txt
@@ -158,6 +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,
ui = {
icons = {
server_installed = "✓",
@@ -172,8 +174,10 @@ Example: >
The following settings are applied by default. >
local DEFAULT_SETTINGS = {
- -- A list of servers to automatically install. Example: { "rust_analyzer", "sumneko_lua" }
+ -- 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.
+ automatic_installation = false,
ui = {
icons = {
-- The list icon to use for installed servers.