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 vim-patch:9.1.0476: Cannot see matched text in popup menu 2024-06-15 04:47:23 +08:00
compiler vim-patch:1cc4cae: runtime(typst): Add typst runtime files 2024-07-16 09:43:57 +02:00
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 vim-patch:79a14c0: runtime(keymap): include Georgian keymap 2024-06-14 23:58:27 +02:00
lua fix(lsp): prevent desync due to empty buffer (#29904) 2024-07-31 16:18:24 +02:00
macros
pack/dist/opt vim-patch:9.1.0599: Termdebug: still get E1023 when specifying arguments (#29794) 2024-07-19 03:48:13 +00:00
plugin fix(tohtml): support ranges again 2024-07-16 15:07:40 +02:00
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 docs: misc (#28837) 2024-06-07 10:55:14 +08:00
CMakeLists.txt
delmenu.vim
filetype.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
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 vim-patch:9.1.0572: cannot specify tab page closing behaviour (#29682) 2024-07-13 08:56:58 +08:00
synmenu.vim
windows_icon.rc feat(win32): embed executable icon 2024-07-02 13:05:16 +02:00