aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-09-07 03:45:04 +0200
committerWilliam Boman <william@redwill.se>2021-09-07 03:45:04 +0200
commit788ed85039f53b30d53790af0d9a33182e6a18e8 (patch)
tree297457872c10f6367bcc369413b554757d74a954 /plugin
parentsome fixes (diff)
downloadmason-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.vim4
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