mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(lua): make core vim module not dependent on $VIMRUNTIME functions
fixes #15524 Note: this is obviously a quickfix. A scalabe solution will involve being able to specify a _list_ of modules to be put into packages.preload, without needing to manually copypasta a blurb of C code. Perhaps even involving bytecode for static builds (to speedup initialization)
This commit is contained in:
@@ -642,6 +642,4 @@ vim._expand_pat_get_parts = function(lua_string)
|
||||
return parts, search_index
|
||||
end
|
||||
|
||||
pcall(require, 'vim._meta')
|
||||
|
||||
return module
|
||||
|
Reference in New Issue
Block a user