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

WARNING: Missing user config file: /root/.config/nvim/init.vim #2

Open
sktrinh12 opened this issue Jun 1, 2020 · 2 comments
Open

Comments

@sktrinh12
Copy link

Hi thanks for sharing this. I git cloned your ide and did docker run -it nameofimage:latest but inside the tmux pane, I don't see anything and can't list any files. nvim works, but it has errors when I type the :healthcheck. It says there is no init.vim file. I tried running that ide() function from my host and it popped another tmux pane which showed the files in the cwd. However, it too gave me the same error in nvim. Am I using your dockerized ide correctly? Eventually I wanted to install deoplete and vim-slime to use as a python ide. Is this possible? I guess firstly, I need to get nvim working. Apologize, but another side question, is it necessary to have the IVY_PATH, KUBE_HOME and HELM_HOME? I dont know what its really for.

@ls12styler
Copy link
Owner

Hello! Apologies for not seeing this sooner.

RE: Env variables - If you don't use SBT, Helm or Kubernetes, then you can disregard them.

RE: nvim errors - Is the docker run command the whole command you're using? Using that should run the default entrypoint script, which sets us a user on the docker container so that you're not running as root. Judging by the error, you're running as root. Are you setting the HOST_USER_ID/HOST_GROUP_ID environment parameters? IIRC, if you don't set them, you end up running as root in the container.

@ls12styler
Copy link
Owner

To get the extra nvim plugins installed, modify the Dockerfile and add them to the list that does the git clone (I found cloning them worked better over using vim-plug at build time, but you could always just use vim-plug).

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

2 participants