neoclide / coc-solargraph

Solargraph extension for coc.nvim
202 stars 10 forks source link

Remove unnecessary 'install solargraph' message #23

Closed shved closed 4 years ago

shved commented 4 years ago

I have several ruby versions on my machine and one that I work a lot with is 2.4.9. So every time I open neovim, coc.nvim promts me to install solargraph, but this gem is not available for rubies under 2.5.

I'm not sure if it's possible to prevent such message if current session ruby version is not supported by solargraph, but it would be great to disable them.

If someone has an ideas on how it would be achieved, please share, it's possible that I could do it myself. I'd just know the point to start from.

chemzqm commented 4 years ago

Add "solargraph.promptDownload": false in your coc-settings.json