mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01: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.")
|
||||
return
|
||||
end
|
||||
-- make sure we're using the latest treesitter util
|
||||
package.loaded["lazyvim.util.treesitter"] = nil
|
||||
LazyVim.treesitter.build(function()
|
||||
TS.update(nil, { summary = true })
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user