kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 67 forks source link

delete lang dir before throwing error #144

Closed nuno-silva18 closed 2 years ago

nuno-silva18 commented 2 years ago

Hi,

This PR moves the line that throws an error when a language server is not properly installed to ensure that the create language server's directory is deleted on a failed install.