aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/ui.lua
diff options
context:
space:
mode:
authorYi Ming <ofseed@foxmail.com>2026-04-26 00:11:09 +0800
committerGitHub <noreply@github.com>2026-04-25 12:11:09 -0400
commit775c7d1b538275ccb560c4cdd806ef1db322164d (patch)
treea76009215a4c350b10a5e5c4acb0964f1370d13b /runtime/lua/vim/ui.lua
parenteeee4bd4fc4117c994011d087b46e6e5f9a74379 (diff)
downloadrneovim-775c7d1b538275ccb560c4cdd806ef1db322164d.tar.gz
rneovim-775c7d1b538275ccb560c4cdd806ef1db322164d.tar.bz2
rneovim-775c7d1b538275ccb560c4cdd806ef1db322164d.zip
fix(lsp): check window is still valid after async request #39396
Problem: Since `foldclose` is async, it must wait for the request to return before actually executing, at which point the original window may no longer be valid. Solution: Check whether the window is valid before actually performing `foldclose`.
Diffstat (limited to 'runtime/lua/vim/ui.lua')
0 files changed, 0 insertions, 0 deletions