Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run nvim +UpdateRemotePlugins during build time #1

Open
sktrinh12 opened this issue Jun 23, 2020 · 0 comments
Open

How to run nvim +UpdateRemotePlugins during build time #1

sktrinh12 opened this issue Jun 23, 2020 · 0 comments

Comments

@sktrinh12
Copy link

Hi Nico,

Its Spencer, perhaps its better to communicate on this. I installed Shuogo/deoplete autocompletion plugin, ipython-cell REPL plugin and ripgrep for fzf plugin. It builds however the plugins won't work unless I type in :UpdateRemotePlugins when I enter the containerized nvim instance. Is there a way to do this in the Dockerfile? I tried putting it in the entrypoint.sh and it seems to work however, it takes a long time to open nvim (because it has to update all the plugins). I tried putting this in the Dockerfile:

RUN set -x && \
    su-exec neovim nvim +PlugInstall +qall && \
    su-exec neovim nvim +PlugUpdate +qall && \
    su-exec neovim nvim +UpdateRemotePlugins +qall \

However it gives me an error: ipython-cell requires py >= 2.7 or py3. I'm assuming it is not in the virtual environment which is python3; and using the default python 2.7.

Also, when I type :checkhealth I noticed there is a warning for the Clipboard. It would be nice to have this so I can copy paste to/from local clipboard. It says no clipboard tool found. I checked the help and it requires pbcopy or xclip/xcel. I put xclip in the RUN apk --update add \ section; however it still doesn't register. How can I sort these issues out? Appreciate the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant