neovim/runtime
Jaehwang Jung 6bb40f3dbf
fix(lsp): prevent desync due to empty buffer (#29904)
Problem:
Some language servers (e.g., rust-analyzer, texlab) are desynced when
the user deletes the entire contents of the buffer. This is due to the
discrepancy between how nvim computes diff and how nvim treats empty
buffer.
* diff: If the buffer became empty, then the diff includes the last
  line's eol.
* empty buffer: Even if the buffer is empty, nvim regards it as having
  a single empty line with eol.

Solution:
Add special case for diff computation when the buffer becomes empty so
that it does not include the eol of the last line.
2024-07-31 16:18:24 +02:00
..
autoload vim-patch:e34d0e3: runtime(netrw): removing trailing slash when copying files in same directory 2024-07-31 00:19:03 +02:00
colors
compiler
doc fix(scrollbind): properly take filler/virtual lines into account 2024-07-31 11:33:32 +01:00
ftplugin vim-patch:e6471b4: runtime(cuda): source c and cpp ftplugins 2024-07-31 00:18:52 +02:00
indent vim-patch:011f222: runtime(thrift): add ftplugin, indent and syntax scripts 2024-07-30 10:39:43 +02:00
keymap
lua fix(lsp): prevent desync due to empty buffer (#29904) 2024-07-31 16:18:24 +02:00
macros
pack/dist/opt
plugin
queries fix(runtime): sync bundled treesitter queries 2024-07-28 16:13:11 +02:00
spell
syntax vim-patch:df9f67e: runtime(html): update syntax script to sync by 250 minlines by default 2024-07-31 00:18:32 +02:00
tools
tutor
CMakeLists.txt
delmenu.vim
filetype.lua
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim
neovim.ico
nvim.appdata.xml
nvim.desktop
nvim.png
optwin.vim
synmenu.vim
windows_icon.rc