From 4275958654ab3ff98baf965e84c236c9c4124813 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 16 May 2021 20:50:02 +0200 Subject: remove :LspInstallAll Currently, this instantly opens up a new buffer for each LSP server. This is not a very cash money user experience. --- plugin/nvim-lsp-installer.vim | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugin') diff --git a/plugin/nvim-lsp-installer.vim b/plugin/nvim-lsp-installer.vim index 48f6a96b..0e704e35 100644 --- a/plugin/nvim-lsp-installer.vim +++ b/plugin/nvim-lsp-installer.vim @@ -20,12 +20,6 @@ function! s:LspInstall(server_name) abort call luaeval("require'nvim-lsp-installer'.install(_A)", a:server_name) endfunction -function! s:LspInstallAll() abort - for server_name in s:MapServerName(luaeval("require'nvim-lsp-installer'.get_uninstalled_servers()")) - call luaeval("require'nvim-lsp-installer'.install(_A)", server_name) - endfor -endfunction - function! s:LspUninstall(server_name) abort call luaeval("require'nvim-lsp-installer'.uninstall(_A)", a:server_name) endfunction @@ -43,7 +37,6 @@ endfunction command! -nargs=1 -complete=custom,s:LspInstallCompletion LspInstall exe s:LspInstall("") command! -nargs=1 -complete=custom,s:LspUninstallCompletion LspUninstall exe s:LspUninstall("") -command! LspInstallAll call s:LspInstallAll() command! LspUninstallAll call s:LspUninstallAll() command! LspPrintInstalled call s:LspPrintInstalled() -- cgit v1.2.3-70-g09d2