aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-08-26 17:01:44 +0200
committerGitHub <noreply@github.com>2021-08-26 17:01:44 +0200
commitf989567a9a9ea0f46e502f2d2271604b1cb89f4c (patch)
tree0963dc7092bafd55a85d7dda2f8b4764656a1f21 /doc
parentfix: add typescript dependency to tsserver (#69) (diff)
downloadmason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.tar
mason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.tar.gz
mason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.tar.bz2
mason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.tar.lz
mason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.tar.xz
mason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.tar.zst
mason-f989567a9a9ea0f46e502f2d2271604b1cb89f4c.zip
add g:lsp_installer_allow_federated_servers flag (#67)
Diffstat (limited to 'doc')
-rw-r--r--doc/nvim-lsp-installer.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt
index c77a952c..ba3e52d8 100644
--- a/doc/nvim-lsp-installer.txt
+++ b/doc/nvim-lsp-installer.txt
@@ -79,6 +79,31 @@ Prints all installed language servers.
==============================================================================
+OPTIONS *nvim-lsp-installer-options*
+
+ *g:lsp_installer_allow_federated_servers*
+ *vim.g.lsp_installer_allow_federated_servers*
+VimL: g:lsp_installer_allow_federated_servers
+Lua: vim.g.lsp_installer_allow_federated_servers
+
+ Type: |Boolean|
+ Default: `true` (`1`)
+
+ 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.
+
+ Example: >
+ let g:lsp_installer_allow_federated_servers = 0
+ vim.g.lsp_installer_allow_federated_servers = false
+<
+
+==============================================================================
Lua module: nvim-lsp-installer *lsp_installer*
*lsp_installer.get_available_servers()*