Files
neovim/runtime/lua/vim
glepnir b9431b340f fix(lsp): show meaningful error on invalid completion response #39445
Problem: vim.NIL is truthy in Lua, so `#(result.items or result)`
crashes on `#vim.NIL` when servers return null.

Solution: skip spec-allowed result=null silently, raise an error
on items=null with the server name.

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_completion
2026-04-28 10:18:37 -04:00
..
2026-04-26 20:25:49 +02:00
2026-04-25 11:16:18 -04:00
2026-04-20 07:09:37 -04:00
2025-06-06 15:36:48 +01:00
2026-04-25 11:16:18 -04:00
2026-04-26 20:25:49 +02:00
2026-01-09 10:07:15 +01:00
2026-03-11 18:00:18 +01:00
2026-04-12 14:17:50 +02:00
2026-04-26 20:25:49 +02:00
2026-04-26 18:07:05 -04:00