mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
fix(treesitter): reload lazyvim.tresitter.util to prevent issues with stale modules when upgrading
This commit is contained in:
@@ -13,6 +13,8 @@ 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
|
||||||
|
-- make sure we're using the latest treesitter util
|
||||||
|
package.loaded["lazyvim.util.treesitter"] = nil
|
||||||
LazyVim.treesitter.build(function()
|
LazyVim.treesitter.build(function()
|
||||||
TS.update(nil, { summary = true })
|
TS.update(nil, { summary = true })
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user