mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Merge pull request #25111 from llllvvuu/backport/25109
[Backport release-0.9] fix(languagetree): remove double recursion in LanguageTree:parse
This commit is contained in:
@@ -312,9 +312,9 @@ function LanguageTree:parse()
|
|||||||
query_time = query_time,
|
query_time = query_time,
|
||||||
})
|
})
|
||||||
|
|
||||||
self:for_each_child(function(child)
|
for _, child in pairs(self._children) do
|
||||||
child:parse()
|
child:parse()
|
||||||
end)
|
end
|
||||||
|
|
||||||
self._valid = true
|
self._valid = true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user