mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
docs: Add example for non-headless sync from CLI (#847)
This commit is contained in:
parent
ebdd049955
commit
beb5ff7f3f
1 changed files with 6 additions and 0 deletions
|
@ -621,6 +621,12 @@ example, if you want to sync lazy from the cmdline, you can use:
|
||||||
$ nvim --headless "+Lazy! sync" +qa
|
$ nvim --headless "+Lazy! sync" +qa
|
||||||
<
|
<
|
||||||
|
|
||||||
|
If you want to do the above, but with the full nvim UI (instead of headless):
|
||||||
|
|
||||||
|
>shell
|
||||||
|
$ nvim "+autocmd User VeryLazy Lazy! sync" +qa
|
||||||
|
<
|
||||||
|
|
||||||
`opts` is a table with the following key-values:
|
`opts` is a table with the following key-values:
|
||||||
|
|
||||||
- **wait**when true, then the call will wait till the operation completed
|
- **wait**when true, then the call will wait till the operation completed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue