neovim/runtime
Mathias Fußenegger 48f0545594 fix(diagnostic): clear stale cache on reset (#21454)
The BufWipeout autocmd is not 100% reliable and may leave stale entries
in the cache. This is sort of a hack/workaround to ensure
`vim.diagnostic.reset` calls don't fail if there are stale cache entries
but instead clears them

Fixes errors like

    Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/diagnostic.lua:1458: Invalid buffer id: 22
    stack traceback:
            [C]: in function 'nvim_exec_autocmds'
            /usr/share/nvim/runtime/lua/vim/diagnostic.lua:1458: in function 'reset'

(cherry picked from commit 1743359235)
2022-12-18 19:25:20 +01:00
..
autoload [Backport release-0.8] fix(tutor): fix problem of failing to get buf name (#20985) 2022-11-06 19:23:34 -08:00
colors [Backport release-0.8] fix(runtime): properly rely on t_Co for colorschemes (#20604) 2022-10-11 23:49:05 +02:00
compiler vim-patch:9fbdbb814f4a (#20376) 2022-09-28 12:48:36 +02:00
doc docs: mention how to remove the "How-to disable mouse" menu item 2022-12-13 01:44:29 +00:00
ftplugin vim-patch:9fbdbb814f4a (#20376) 2022-09-28 12:48:36 +02:00
indent vim-patch:9fbdbb814f4a (#20376) 2022-09-28 12:48:36 +02:00
keymap
lua fix(diagnostic): clear stale cache on reset (#21454) 2022-12-18 19:25:20 +01:00
macros
pack/dist/opt [Backport release-0.8] docs: fix/remove invalid URLs (#20735) 2022-10-19 05:06:20 -07:00
plugin feat(Man): port to Lua (#19912) 2022-09-02 15:20:29 +01:00
print
queries [Backport release-0.8] build(deps): bump vimdoc (help) parser to v1.2.1 (#20736) 2022-10-19 05:14:45 -07:00
spell feat(runtime): import cleanadd.vim from Vim (#17699) 2022-03-13 04:52:45 +00:00
syntax vim-patch:9fbdbb814f4a (#20376) 2022-09-28 12:48:36 +02:00
tools vim-patch:e80086446cc2 (#19848) 2022-08-20 10:04:55 +02:00
tutor docs(tutor): modify for Neovim rather than Vim (#17092) 2022-01-30 13:53:01 +01:00
bugreport.vim
CMakeLists.txt [Backport release-0.8] feat(docs): remove old AWK scripts, update HTML generator (#20587) 2022-10-11 04:19:38 -07:00
delmenu.vim vim-patch:9.0.0141: "delmenu" does not remove autocmmands (#19646) 2022-08-05 12:23:41 +02:00
filetype.lua fix(filetype): use :setf instead of nvim_buf_set_option (#20334) 2022-09-25 16:29:25 +02:00
filetype.vim vim-patch:9fbdbb814f4a (#20376) 2022-09-28 12:48:36 +02:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim vim-patch:8.2.0478: new buffers are not added to the Buffers menu 2022-08-05 07:56:56 +08:00
mswin.vim
nvim.appdata.xml NVIM 0.8.1 2022-11-14 10:12:05 +01:00
nvim.desktop build(nvim.desktop): central Kurdish translation #17065 2022-05-13 11:58:22 -07:00
nvim.png
optwin.vim vim-patch:9712ff1288f9 (#20240) 2022-09-18 15:20:20 +02:00
scripts.vim feat(runtime)!: enable filetype.lua by default (#19216) 2022-07-07 18:53:47 +02:00
synmenu.vim vim-patch:b529cfbd04c0 (#19501) 2022-07-26 11:26:23 +02:00