mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +00:00
fix(treesitter): TS update during inital build
This commit is contained in:
parent
2c44d33063
commit
2d56d3b37c
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ return {
|
|||
LazyVim.error("Please restart Neovim and run `:TSUpdate` to use the `nvim-treesitter` **main** branch.")
|
||||
return
|
||||
end
|
||||
vim.cmd.TSUpdate()
|
||||
TS.update(nil, { summary = true })
|
||||
end,
|
||||
lazy = vim.fn.argc(-1) == 0, -- load treesitter early when opening a file from the cmdline
|
||||
event = { "LazyFile", "VeryLazy" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue