coc-r-lsp
coc-r-lsp copied to clipboard
LSP diagnostics always show error at beginning of script
When I have any error/warning/style suggestion, instead of showing the errors where they are, I get an error in the very first line that says "Failed to run diagnostics: callr subprocess failed: unused argument (text = ....)" where ... is a character vector of the whole script.
This does not appear when there are no errors/warnings/style suggestions (as confirmed by running lintr
).
This goes away if I turn off r.lsp.diagnostics
but I would like to have this working