REditorSupport / languageserver

An implementation of the Language Server Protocol for R
Other
564 stars 91 forks source link

Neovim lspinstall r-languageserver installation not using .Rprofile CRAN mirror address? #639

Closed gwd666 closed 8 months ago

gwd666 commented 8 months ago

Start Neovim Make sure Lsp extension is available. Open a .R file Hit ":" (to enter Command mode) type "LspInstall r_language_server" Watch it constantly use "http://cran.rstudio.com" which in my case fails setting up the lang server for neovim b/c some packages (like callr, rprojroot, etc.) will be blocked from downloading from this mirror but not an "internal" one defined in my ~/.Rprofile. Not sure if this is a LSP issue or this repo, but my feeling tells me its here, because the LSP installation is just executing the languageserver installation protocol from this repo, right?