mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-05 15:04:37 +02:00
feat(treesitter): allow run TSUpdateSync from command line (#944)
Use a script to keep the neovim updated is really useful, but is not possible by default because TSUpdateSync is not on `cmd` commands. ```sh nvim --headless "+Lazy! sync" "+TSUpdateSync" +qa ```
This commit is contained in:
parent
b37616c203
commit
6b1efe78e2
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ return {
|
|||
version = false, -- last release is way too old and doesn't work on Windows
|
||||
build = ":TSUpdate",
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
cmd = { "TSUpdateSync" },
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue