gaalcaras / ncm-R

R autocompletion for Neovim and vim 8 :memo: :bar_chart: :zap:
GNU General Public License v3.0
115 stars 10 forks source link

suppress error #21

Open shawnchenx6 opened 5 years ago

shawnchenx6 commented 5 years ago

I am editing my R codes without using the R terminal on nvim, windows 10 , and ncmR keeps telling me "can't find $NVIMR_ID please start R using Nvim-R",Is it intended to be so? and is it possible to suppress the error message and only use the completion function?

pablo-gar commented 4 years ago

Getting the same problem here

joiharalds commented 4 years ago

A possible temporary, quick and dirty fix is to comment out lines 63-65 in ncm_r.py where the error message is sent for nvim to display

pablo-gar commented 4 years ago

@ShawnChen1996 forked it, seemed to have solved it and submitted a pull request that has not been incorporated. I'm currently using that.

Pull request: https://github.com/gaalcaras/ncm-R/pull/24