Full log
[coc.nvim]: UnhandledRejection: request error nvim_buf_set_lines - Wrong type for argument 1 when calling nvim_buf_set_lines, expecting Buffer
Error
at rN.request (/home/luiz00martins/.local/share/nvim/plugged/coc.nvim/build/index.js:29:34621)
at rN.setLines (/home/luiz00martins/.local/share/nvim/plugged/coc.nvim/build/index.js:29:36516)
at /home/luiz00martins/.local/share/nvim/plugged/coc-isabelle/lib/index.js:5461:23
at ke (/home/luiz00martins/.local/share/nvim/plugged/coc.nvim/build/index.js:35:1456)
at Kh (/home/luiz00martins/.local/share/nvim/plugged/coc.nvim/build/index.js:34:11231)
at Immediate._onImmediate (/home/luiz00martins/.local/share/nvim/plugged/coc.nvim/build/index.js:34:11111)
at processImmediate (node:internal/timers:464:21)
Details
I was first unable to get the Isabelle server running, which makes sense, as the isabelle command was not working in my environment. As such, I changed the Isabelle command in the options to point to the exact executable. This is my coc-settings.json:
{
"isabelle.command": "Isabelle/bin/isabelle"
}
When opening a file, the server seems to work, displaying the message [coc.nvim] Welcome to Isabelle/HOL (Isabelle repository snapshot c526eb2c7ca0 30-Mar-2021).
However, after some seconds of silence (in which I assume it is processing the imported theorems), I get the error message above, with no output in the -OUTPUT- buffer. From this point forward, the same error appears whenever the cursor moves to a place that would require Isabelle to further process the state (e.g. it doesn't appear when moving the cursor through comments, but it does when entering a theorem).
Full log
Details
I was first unable to get the Isabelle server running, which makes sense, as the
isabellecommand was not working in my environment. As such, I changed the Isabelle command in the options to point to the exact executable. This is mycoc-settings.json:When opening a file, the server seems to work, displaying the message
[coc.nvim] Welcome to Isabelle/HOL (Isabelle repository snapshot c526eb2c7ca0 30-Mar-2021).However, after some seconds of silence (in which I assume it is processing the imported theorems), I get the error message above, with no output in the
-OUTPUT-buffer. From this point forward, the same error appears whenever the cursor moves to a place that would require Isabelle to further process the state (e.g. it doesn't appear when moving the cursor through comments, but it does when entering a theorem).