mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
f5573fba3d
Problem: `LanguageTree:for_each_tree` calls itself for child nodes, so when we calls `for_each_tree` inside `for_each_tree`, this quickly leads to exponential tree calls. Solution: Use `pairs(child:trees())` directly in this case, as we don't need the extra callback for each children, this is already handled from the outer `for_each_tree` call |
||
---|---|---|
.. | ||
_fold.lua | ||
_meta.lua | ||
_query_linter.lua | ||
_range.lua | ||
dev.lua | ||
health.lua | ||
highlighter.lua | ||
language.lua | ||
languagetree.lua | ||
query.lua |