mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
fix(treesitter): TS update during inital build
This commit is contained in:
@@ -13,7 +13,7 @@ return {
|
|||||||
LazyVim.error("Please restart Neovim and run `:TSUpdate` to use the `nvim-treesitter` **main** branch.")
|
LazyVim.error("Please restart Neovim and run `:TSUpdate` to use the `nvim-treesitter` **main** branch.")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
vim.cmd.TSUpdate()
|
TS.update(nil, { summary = true })
|
||||||
end,
|
end,
|
||||||
lazy = vim.fn.argc(-1) == 0, -- load treesitter early when opening a file from the cmdline
|
lazy = vim.fn.argc(-1) == 0, -- load treesitter early when opening a file from the cmdline
|
||||||
event = { "LazyFile", "VeryLazy" },
|
event = { "LazyFile", "VeryLazy" },
|
||||||
|
|||||||
Reference in New Issue
Block a user