mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Merge pull request #17302 from lewis6991/pkg_ldr
fix(lua): restore priority of the preloader
This commit is contained in:
@@ -87,7 +87,8 @@ function vim._load_package(name)
|
|||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
table.insert(package.loaders, 1, vim._load_package)
|
-- Insert vim._load_package after the preloader at position 2
|
||||||
|
table.insert(package.loaders, 2, vim._load_package)
|
||||||
|
|
||||||
-- These are for loading runtime modules lazily since they aren't available in
|
-- These are for loading runtime modules lazily since they aren't available in
|
||||||
-- the nvim binary as specified in executor.c
|
-- the nvim binary as specified in executor.c
|
||||||
|
Reference in New Issue
Block a user