aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/loader.lua
Commit message (Collapse)AuthorAge
* refactor(loader): cache hash informationLewis Russell2023-03-31
| | | | | | | | | | | Whenever we run fs_stat() on a path, save this information in the loader so it can be re-used. - Loader.loadfile: Remove arguments `hash` as it is no longer needed. - Loader.loader: Use _G.loadstring instead of Loader.load This allows plugins to wrap loadstring to inspection and profiling - factor out read file logic
* fix(loader): disable profiling by defaultLewis Russell2023-03-31
|
* refactor(loader): simplify tracking logicLewis Russell2023-03-26
|
* feat(vim.fs): improve normalizeLewis Russell2023-03-26
| | | | | | - Add options argument with an option to expand env vars - Resolve '//' -> '/' - Use in vim.loader
* refactor(loader): add typing for package.loadersLewis Russell2023-03-26
|
* refactor(loader): remove BufWritePost autocmdLewis Russell2023-03-26
|
* refactor(loader): use vim.fsLewis Russell2023-03-26
|
* feat(lua): add `vim.loader`Folke Lemaitre2023-03-26
feat: new faster lua loader using byte-compilation