neovim/runtime
Jaehwang Jung dc8c086c7e
fix(lsp): directly rename the existing buffers when renaming (#27690)
Problem:
`vim.lsp.util.rename()` deletes the buffers that are affected by
renaming. This has undesireable side effects. For example, when renaming
a directory, all buffers under that directory are deleted and windows
displaying those buffers are closed. Also, buffer options may change
after renaming.

Solution:
Rename the buffers with :saveas.

An alternative approach is to record all the relevant states and restore
it after renaming, but that seems to be more complex. In fact, the older
version was attempting to restore the states but only partially and
incorrectly.
2024-03-02 15:21:53 +01:00
..
autoload vim-patch:8fad5d58874e 2024-02-29 22:54:57 +01:00
colors vim-patch:9.1.0106: Visual highlight hard to read with 'termguicolors' 2024-02-15 10:50:29 +08:00
compiler vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
doc fix(lsp): directly rename the existing buffers when renaming (#27690) 2024-03-02 15:21:53 +01:00
ftplugin vim-patch:e84d2d4432cd 2024-02-28 10:56:58 +01:00
indent vim-patch:b4eb3f1e4489 2024-02-29 22:54:57 +01:00
keymap
lua fix(lsp): directly rename the existing buffers when renaming (#27690) 2024-03-02 15:21:53 +01:00
macros vim-patch:79230f027a25 2024-02-16 08:57:45 +01:00
pack/dist/opt vim-patch:9.1.0025: A few typos in tests and justify.vim 2024-01-12 22:24:52 +01:00
plugin fix(tohtml): set filetype of generated HTML to html 2024-02-28 18:34:12 +00:00
queries build(deps): bump tree-sitter-bash to v0.20.5 2024-02-10 14:49:09 +01:00
spell
syntax vim-patch:100a665634a0 2024-03-02 10:06:26 +01:00
tools
tutor docs(tutor): include https urls where applicable (#27461) 2024-02-16 20:54:32 +08:00
CMakeLists.txt build: various fixes 2024-02-01 12:06:55 +01:00
delmenu.vim
filetype.lua
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
menu.vim
mswin.vim
neovim.ico
nvim.appdata.xml docs: add wiki FAQ to the runtime documentation (#26539) 2023-12-13 17:31:39 +01:00
nvim.desktop
nvim.png
optwin.vim
synmenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00