diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-14 02:05:56 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-01-14 02:22:16 +0100 |
| commit | 6c02ff474732dcc6ae5cf103c79298c9602fd116 (patch) | |
| tree | 27ec5fcc3c890ff39d9318fd332320e59bc72bf3 /test/unit/viml/expressions/lexer_spec.lua | |
| parent | bb3aa824b7c6aedb9019978338fa960d307aa883 (diff) | |
| download | rneovim-6c02ff474732dcc6ae5cf103c79298c9602fd116.tar.gz rneovim-6c02ff474732dcc6ae5cf103c79298c9602fd116.tar.bz2 rneovim-6c02ff474732dcc6ae5cf103c79298c9602fd116.zip | |
lua/stdlib: Load runtime modules on-demand
Instead of eager-loading during plugin/* sourcing, define runtime
modules such as `vim.inspect` as lazy builtins. Otherwise non-builtin
Lua modules such as `vim.inspect` would not be available during startup
(init.vim, `-c`, `--cmd`, …).
ref #6580
ref #8677
Diffstat (limited to 'test/unit/viml/expressions/lexer_spec.lua')
0 files changed, 0 insertions, 0 deletions
