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

Add sync option to TSInstall #111

Closed
sheeaza opened this issue Jun 26, 2020 · 4 comments · Fixed by #126
Closed

Add sync option to TSInstall #111

sheeaza opened this issue Jun 26, 2020 · 4 comments · Fixed by #126
Assignees
Labels
enhancement New feature or request

Comments

@sheeaza
Copy link

sheeaza commented Jun 26, 2020

TSInstall runs asynchronous backend, but in headless install mode, it needs a way to exit 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

@vigoux
Copy link
Member

vigoux commented Jun 29, 2020

@kyazdani42 , what do you think about that ?

@kyazdani42
Copy link
Member

i'll fix that today.

@hyt589
Copy link

hyt589 commented Jun 22, 2021

Hi, this is not mentioned in the doc. What's the correct way to install parsers synchronously? I tried +"TSInstall -sync all" +qall and it still exited before the installation is complete.

@stsewd
Copy link
Member

stsewd commented Jun 22, 2021

Hi, this is not mentioned in the doc. What's the correct way to install parsers synchronously? I tried +"TSInstall -sync all" +qall and it still exited before the installation is complete.

Hi, the command is called TSInstallSync, docs would be great it there aren't for this command

ghostbuster91 pushed a commit to ghostbuster91/nvim-treesitter that referenced this issue Jul 23, 2023
* Add Elixir textobjects

* Add Indents

Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
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.

5 participants