diff options
| author | William Boman <william@redwill.se> | 2021-05-16 20:50:02 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-05-16 20:50:02 +0200 |
| commit | 4275958654ab3ff98baf965e84c236c9c4124813 (patch) | |
| tree | 0c665bef5ddb88d7744da24524ef8893e31db0c3 /plugin | |
| parent | add texlab (#12) (diff) | |
| download | mason-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.vim | 7 |
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() |
