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 headless install all the necessary when build docker image? #108

Closed
sheeaza opened this issue Jun 25, 2020 · 7 comments · Fixed by #109
Closed

How to headless install all the necessary when build docker image? #108

sheeaza opened this issue Jun 25, 2020 · 7 comments · Fixed by #109
Labels
enhancement New feature or request

Comments

@sheeaza
Copy link

sheeaza commented Jun 25, 2020

When embedded nvim to docker image, I need to headless install all the parsers. Is there any options like:
nvim --headless +TSInstall all?

@vigoux
Copy link
Member

vigoux commented Jun 25, 2020

You should now be able to run TSInstall all ! If you only want a certain list of parsers, you can also do TSInstall my list of parsers too !

@kyazdani42
Copy link
Member

i'll also update the docs.

@sheeaza
Copy link
Author

sheeaza commented Jun 25, 2020

That's great, and for nvim headless install, it is also need a sync way to exit when installing finished, like this:
nvim --headless ' +TSInstall -sync all' +qa

@kyazdani42
Copy link
Member

@sheeaza not sure i understand the sentence it is also need a sync way to exit, could you elaborate please ?

@sheeaza
Copy link
Author

sheeaza commented Jun 26, 2020

TSInstall is running asynchronous backend right? But in headless install mode, it needs a way to exist when all installations are done.
nvim --headless ' +TSInstall -sync all' +qa
with -sync option or any other symbal to represent "synchronous" meaning, the +qa command will excute after +TSInstall all done

@kyazdani42
Copy link
Member

could you open another issue please ?

@sheeaza
Copy link
Author

sheeaza commented Jun 26, 2020

ok, see here #111

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

Successfully merging a pull request may close this issue.

3 participants