kabouzeid / nvim-lspinstall

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

delete lang dir before throwing error #144

Closed nuno-silva18 closed 3 years ago

nuno-silva18 commented 3 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.