diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/mason-lspconfig.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/mason-lspconfig.txt b/doc/mason-lspconfig.txt index e617361..f5b309f 100644 --- a/doc/mason-lspconfig.txt +++ b/doc/mason-lspconfig.txt @@ -121,7 +121,23 @@ Example: ensure_installed = {}, -- Whether installed servers should automatically be enabled via `:h vim.lsp.enable()`. - automatic_enable = true + -- + -- To exclude certain servers from being automatically enabled: + -- ```lua + -- automatic_enable = { + -- exclude = { "rust_analyzer", "ts_ls" } + -- } + -- ``` + -- + -- To only enable certain servers to be automatically enabled: + -- ```lua + -- automatic_enable = { + -- "lua_ls", + -- "vimls" + -- } + -- ``` + ---@type boolean | string[] | { exclude: string[] } + automatic_enable = true, } < |
