diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-11-27 10:33:54 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-11-27 11:51:10 +0100 |
commit | 942f26279d373fcdebcb41363e526a2871b09a71 (patch) | |
tree | 97660b67740882f34d3568531475b9b5a2098182 /runtime/lua/vim/inspect.lua | |
parent | 3098064f332ffbc59c342545402e2d2da798a458 (diff) | |
download | rneovim-942f26279d373fcdebcb41363e526a2871b09a71.tar.gz rneovim-942f26279d373fcdebcb41363e526a2871b09a71.tar.bz2 rneovim-942f26279d373fcdebcb41363e526a2871b09a71.zip |
fix(tests): only get the color map once, even for multiple test files
Problem: test/functional/ui/screen.lua would be reloaded for each
*_spec.lua file, which causes an extra nvim session to be started
to get the color map each time.
solution: Mark screen.lua as a preloaded file, but defer the
loading of the color map to the first time Screen object is initialised.
Diffstat (limited to 'runtime/lua/vim/inspect.lua')
0 files changed, 0 insertions, 0 deletions