Open nitnelave opened 10 months ago
(also, the "ensure_installed" config key doesn't seem to do anything. Nothing gets installed at startup, and :checkhealth
says WARNING {nvim-devdocs}: unknown key <ensure_installed>
)
The error seems to imply that a string in the returned JSON is not closed by the time we reached the end. Maybe the output is truncated? What does "cpp docs is too large" imply?
It looks like it's an issue with curl, as you said the output was truncated resulting in an invalid JSON. "large docs" exceed 10Mb but some docs are really big, according to the devdocs website CPP docs is about 41Mb. curl probably failed to download. I haven't configured a checkhealth though, and I can't reproduce it.
Yeah, after some investigation, it only happens on my company's network. I pulled it at home, packed the devdocs folder into an archive and sent it to my work computer to unpack there. It's not great, but it's a workaround.
I'll leave it to you whether to close the bug or not, given that I can't give you a reproduction.
Running
:DevdocsInstall cpp
gives me:neovim version: 0.9.2 nvim-devdocs just installed from git.