neovim/runtime/lua
L Lllvvuu 6b5f44817e fix(languagetree): remove double recursion in LanguageTree:parse
`LanguageTree:parse` is recursive, and calls
`LanguageTree:for_each_child`, which is also recursive.

That means that, starting from the third level (child of child of root),
nodes will be parsed twice.

Which then means that if the tree is N layers deep, there will be ~2^N
parses even if the branching factor is 1.

Now, why was the tree deepening with each character inserted? And why
did this only regress in #24647? These are mysteries for another time.

Fixes: #25104
2023-09-12 09:12:53 +02:00
..
nvim feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
provider feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
vim fix(languagetree): remove double recursion in LanguageTree:parse 2023-09-12 09:12:53 +02:00
_vim9script.lua feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
coxpcall.lua build(lua): vendor coxpcall 2023-09-10 11:43:37 +02:00
editorconfig.lua fix(editorconfig): do not set 'endofline' 2023-08-27 19:27:25 +01:00
man.lua feat(man): respect 'wrapmargin' when wrapping man pages (#24091) 2023-06-21 14:42:23 -05:00