Open rogueinkamp opened 1 year ago
I would very much like this, Im configuring nvim as part of CI and would like COQdeps to run in headless mode. Any updates on this yet ?
This approach doesnt' work because the :COQdeps
command starts a process in a terminal and doing :qa
immediately after finishes Neovim befor the process has finished.
The command simply calls the following
Which executes python3 -s -u -m coq deps
on the cwd ~/.local/share/nvim/lazy/coq_nvim
(or wherever coq_nvim is installed on your machine) setting the following environment variablels for that process
PYTHONSAFEPATH="1"
PYTHONPATH="~/.local/share/nvim/lazy/coq_nvim"
So, you could simply execute that instead of calling :COQdeps
in a headless Neovim instance.
Another option would be to, on a timer, check for the text COQ EXITED
on the terminal buffer and finish the Neovim process after that, not immediately
Hello, thank you for the great plugin.
I am wondering how to support headless install. This is to set up my environment in Docker.
I have tried to do:
RUN nvim --headless +COQdeps +qa
But this does not seem to complete the install.
I have noticed that it attempts to install to
.local/share/nvim/plugged/coq_nvim/.vars/runtime/
so I have tried to install the dependencies there:However, when launching nvim, it still insists I run COQdeps.
Afterwards, it appears that the dependencies are fairly the same as they were before:
Then run neovim and COQdeps. Now check again:
How do I properly set up python beforehand so I do not have to run COQdeps?
Again, thank you for this great plugin. Have a great day.