Skip to content

Conversation

bfredl
Copy link
Member

@bfredl bfredl commented Oct 9, 2021

fixes #15147 and fixes #15497 . Also sketch "subdir" caching, currently this only caches whether an rtp entry has a "lua/" subdir but we could consider cache other subdirs potentially or even "lua/mybigplugin/" possibly.

@github-actions github-actions bot added lua stdlib runtime funtime labels Oct 9, 2021
@justinmk

This comment has been minimized.

Fixes neovim#15147 and fixes neovim#15497. Also sketch "subdir" caching. Currently
this only caches whether an rtp entry has a "lua/" subdir but we could
consider cache other subdirs potentially or even "lua/mybigplugin/"
possibly.

Note: the async_leftpad test doesn't actually fail on master, at least
not deterministically (even when disabling the fast_breakcheck
throttling). It's still useful as a regression test for further changes
and included as such.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lua stdlib runtime funtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lua require() always prefers mod.lua over mod/init.lua regardless of order in runtimepath require'mymod' inside a luv callback might segfault
3 participants