aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-05-16 20:50:02 +0200
committerWilliam Boman <william@redwill.se>2021-05-16 20:50:02 +0200
commit4275958654ab3ff98baf965e84c236c9c4124813 (patch)
tree0c665bef5ddb88d7744da24524ef8893e31db0c3 /plugin
parentadd texlab (#12) (diff)
downloadmason-4275958654ab3ff98baf965e84c236c9c4124813.tar
mason-4275958654ab3ff98baf965e84c236c9c4124813.tar.gz
mason-4275958654ab3ff98baf965e84c236c9c4124813.tar.bz2
mason-4275958654ab3ff98baf965e84c236c9c4124813.tar.lz
mason-4275958654ab3ff98baf965e84c236c9c4124813.tar.xz
mason-4275958654ab3ff98baf965e84c236c9c4124813.tar.zst
mason-4275958654ab3ff98baf965e84c236c9c4124813.zip
remove :LspInstallAll
Currently, this instantly opens up a new buffer for each LSP server. This is not a very cash money user experience.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nvim-lsp-installer.vim7
1 files changed, 0 insertions, 7 deletions
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("<args>")
command! -nargs=1 -complete=custom,s:LspUninstallCompletion LspUninstall exe s:LspUninstall("<args>")
-command! LspInstallAll call s:LspInstallAll()
command! LspUninstallAll call s:LspUninstallAll()
command! LspPrintInstalled call s:LspPrintInstalled()