aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-07-18 19:05:56 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-07-19 16:12:39 +0200
commite877eccafd2d140ffcc98db02da6dab1879a32d4 (patch)
tree816032c8311f7d972f1a9d788231831d68b73ac8 /runtime/lua/vim/shared.lua
parentc36df20aef22288f47e19084d2671327f7cd878c (diff)
downloadrneovim-e877eccafd2d140ffcc98db02da6dab1879a32d4.tar.gz
rneovim-e877eccafd2d140ffcc98db02da6dab1879a32d4.tar.bz2
rneovim-e877eccafd2d140ffcc98db02da6dab1879a32d4.zip
refactor(lua): initialize lua state at startup instead of dynamically
lua is used as part of implementation for more core features. As an example, every user keypress will invoke a lua function to check for keypress handlers (regardless if they are registered or not). Thus not starting lua until it is first used doesn't make much sense anymore. nlua_enter was also needed due to the earlier stateful &rtp translation, which by now have been made stateless.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions