aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nvim-lsp-installer.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/nvim-lsp-installer.vim b/plugin/nvim-lsp-installer.vim
index 2cd3485b..a157da39 100644
--- a/plugin/nvim-lsp-installer.vim
+++ b/plugin/nvim-lsp-installer.vim
@@ -9,7 +9,9 @@ function! s:MapServerName(servers) abort
endfunction
function! s:LspInstallCompletion(...) abort
- return join(sort(s:MapServerName(luaeval("require'nvim-lsp-installer.servers'.get_available_servers()"))), "\n")
+ return join(sort(s:MapServerName(filter(
+ \ luaeval("require'nvim-lsp-installer.servers'.get_available_servers()"), {_, val -> val.is_deprecated != v:true}
+ \ ))), "\n")
endfunction
function! s:LspUninstallCompletion(...) abort