aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorIvan <hello@iillexial.me>2023-03-14 13:08:37 +0100
committerGitHub <noreply@github.com>2023-03-14 05:08:37 -0700
commit4f7879dff0f0dc22ddf4cb2a2095b88605a3bab0 (patch)
tree1f2197d3fa7bfee21f427d9a39993b1962626654 /scripts/gen_vimdoc.py
parent8dde7c907ca9ad365895bded2c2f59e08f65d3ed (diff)
downloadrneovim-4f7879dff0f0dc22ddf4cb2a2095b88605a3bab0.tar.gz
rneovim-4f7879dff0f0dc22ddf4cb2a2095b88605a3bab0.tar.bz2
rneovim-4f7879dff0f0dc22ddf4cb2a2095b88605a3bab0.zip
fix(lsp): kill buffers after renaming a directory #22618
Problem: When LSP client renames a directory, opened buffers in the edfitor are not renamed or closed. Then `:wall` shows errors. https://github.com/neovim/neovim/blob/master/runtime/lua/vim/lsp/util.lua#L776 works correctly if you try to rename a single file, but doesn't delete old buffers with `old_fname` is a dir. Solution: Update the logic in runtime/lua/vim/lsp/util.lua:rename() Fixes #22617
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions