diff options
| author | William Boman <william@redwill.se> | 2021-09-07 03:45:04 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-09-07 03:45:04 +0200 |
| commit | 788ed85039f53b30d53790af0d9a33182e6a18e8 (patch) | |
| tree | 297457872c10f6367bcc369413b554757d74a954 /plugin | |
| parent | some fixes (diff) | |
| download | mason-788ed85039f53b30d53790af0d9a33182e6a18e8.tar mason-788ed85039f53b30d53790af0d9a33182e6a18e8.tar.gz mason-788ed85039f53b30d53790af0d9a33182e6a18e8.tar.bz2 mason-788ed85039f53b30d53790af0d9a33182e6a18e8.tar.lz mason-788ed85039f53b30d53790af0d9a33182e6a18e8.tar.xz mason-788ed85039f53b30d53790af0d9a33182e6a18e8.tar.zst mason-788ed85039f53b30d53790af0d9a33182e6a18e8.zip | |
schedule batch uninstallations
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/nvim-lsp-installer.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/nvim-lsp-installer.vim b/plugin/nvim-lsp-installer.vim index 1cd772ef..2e2bc315 100644 --- a/plugin/nvim-lsp-installer.vim +++ b/plugin/nvim-lsp-installer.vim @@ -30,9 +30,7 @@ function! s:LspUninstall(server_names) abort endfunction function! s:LspUninstallAll() abort - for server in s:MapServerName(luaeval("require'nvim-lsp-installer.servers'.get_installed_servers()")) - call s:LspUninstall(server) - endfor + lua require'nvim-lsp-installer'.uninstall_all() endfunction function! s:LspPrintInstalled() abort |
