neovim/runtime/lua
Michael Lingelbach d6b939a13f
fix(lsp): avoid attaching to unloaded buffers (#16723)
Closes https://github.com/neovim/neovim/issues/16562 https://github.com/neovim/neovim/issues/16249 https://github.com/neovim/neovim/issues/16297

* buf_attach_client can be called on an unloaded buffer
* on_attach will prematurely fail, while the language server client
  tracks this buffer as attached
* The language server client will track this buffer as attached despite
  textDocument/didChange notifications not being sent to the server
* Instead, check if the buffer is loaded and return early, warning via
  the lsp logger that buf_attach_client was called on an invalid buffer
2021-12-19 12:49:56 -08:00
..
vim fix(lsp): avoid attaching to unloaded buffers (#16723) 2021-12-19 12:49:56 -08:00
health.lua feat(runtime/health): support lua healthchecks 2021-10-04 14:28:54 -05:00
man.lua man.vim: Handle ANSI escape sequences with ":" #10267 2019-06-30 15:25:49 +02:00