aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nvim-lsp-installer.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/nvim-lsp-installer.vim b/plugin/nvim-lsp-installer.vim
index a915207c..6e9e192d 100644
--- a/plugin/nvim-lsp-installer.vim
+++ b/plugin/nvim-lsp-installer.vim
@@ -40,5 +40,7 @@ command! -nargs=1 -complete=custom,s:LspUninstallCompletion LspUninstall exe s:L
command! LspUninstallAll call s:LspUninstallAll()
command! LspPrintInstalled call s:LspPrintInstalled()
+autocmd User LspAttachBuffers lua require"nvim-lsp-installer".lsp_attach_proxy()
+
let &cpo = s:save_cpo
unlet s:save_cpo