coc-r-lsp
coc-r-lsp copied to clipboard
auto-completion not working
Here is my coc-settings.json for R. For some reason auto-completion not working. I am running vim on Windows. Please help to solve.
"languageserver": {
"R": {
"enable": true,
"command": "C:\\Program Files\\R\\R-4.1.2\\bin\\x64\\R.exe",
"r.lsp.path": "C:\\Program Files\\R\\R-4.1.2\\bin\\x64\\R.exe",
"r.lsp.debug": true,
"args": [
"--slave",
"-e",
"languageserver::run()"
],
"filetypes": [
"r"
]
}
}
I got following error when I open R file in vim.