Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handling
codeaction
items on latest neovim nightly (#27)
In the neovim/neovim@9281edb 'codeaction' items type has changed to `{action: lsp.Command|lsp.CodeAction, ctx: lsp.HandlerContext}[]` instead of just table of 2 elements `{ client_id, action }`. So, because of that, plugin crashes with 'attempt to index a nil value'. To be compatible with < 0.9 version, `if vim.version` was added.
- Loading branch information