aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/python_setup.vim
diff options
context:
space:
mode:
authorerdivartanovich <erdivartanovich@gmail.com>2026-08-03 18:31:15 +0800
committererdivartanovich <erdivartanovich@gmail.com>2026-08-04 01:57:21 +0800
commitd80121327fe15663d7f5367f03bb150c748243db (patch)
tree05a89261c357a0907423e97e2ccf692e9a97bc10 /runtime/plugin/python_setup.vim
parenta3eff66e313b89cf721ad70ea34c41b7425200c1 (diff)
downloadrneovim-d80121327fe15663d7f5367f03bb150c748243db.tar.gz
rneovim-d80121327fe15663d7f5367f03bb150c748243db.tar.bz2
rneovim-d80121327fe15663d7f5367f03bb150c748243db.zip
fix(dir): keep a listing buffer when the initial listing fails
Problem: A failed initial directory listing discards the listing state: the user is left in an empty modifiable non-listing buffer, and the BufEnter autocmd retries the failing open, repeating the error on every re-entry. Solution: Render the failure as an empty listing with state and handlers intact: the error is reported once and "R" or :edit retries the listing. Keep the error on the listing state so a failed listing is distinguishable from an empty one; the next list clears it.
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions