aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_async.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2025-08-02 10:52:05 +0200
committerbfredl <bjorn.linse@gmail.com>2025-08-02 11:26:35 +0200
commit1af5ec5b51a189667e8f6f9764d2c16a2ecb718b (patch)
tree50a813d8c671a8da21c559a7b66f2d1e89a16528 /runtime/lua/vim/_async.lua
parent68eece8b849da73bb9c93dabd6403ed0fb2f4174 (diff)
downloadrneovim-1af5ec5b51a189667e8f6f9764d2c16a2ecb718b.tar.gz
rneovim-1af5ec5b51a189667e8f6f9764d2c16a2ecb718b.tar.bz2
rneovim-1af5ec5b51a189667e8f6f9764d2c16a2ecb718b.zip
fix(statusline): don't require'vim.diagnostic' unless already used
This workarounds a bug likely in nvim__get_runtime, and fixes #35124 Though I'd argue it is more correct anyway as the point of vim.SUBMODULE lazy loading is "only pay for what you use". If no one has require'vim.diagnostic' yet in LSP or otherwise, there cannot be any diagostics available and loading the lua module is wasteful.
Diffstat (limited to 'runtime/lua/vim/_async.lua')
0 files changed, 0 insertions, 0 deletions