diff options
| author | phanium <91544758+phanen@users.noreply.github.com> | 2026-02-10 01:45:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-09 09:45:21 -0800 |
| commit | 9f77124b78ec12c4128cbdae68d7faea947cd1c8 (patch) | |
| tree | 21a75be4d0f0b648d37029a389d057f8feadbcc5 /test/functional/vimscript/string_spec.lua | |
| parent | 1ee166a64d47122f7fbf67a172d93003cf3aca1f (diff) | |
| download | rneovim-9f77124b78ec12c4128cbdae68d7faea947cd1c8.tar.gz rneovim-9f77124b78ec12c4128cbdae68d7faea947cd1c8.tar.bz2 rneovim-9f77124b78ec12c4128cbdae68d7faea947cd1c8.zip | |
fix(lsp): error on omnifunc completion (#37790)
Problem:
After eaacdc9, complete with emmylua_ls error with:
runtime/lua/vim/lsp/completion.lua:586: attempt to get length of field
'items' (a nil value)
Solution:
Result can be CompletionItem[] according the spec:
> If a `CompletionItem[]` is provided, it is interpreted to be complete,
> so it is the same as `{ isIncomplete: false, items }`
Diffstat (limited to 'test/functional/vimscript/string_spec.lua')
0 files changed, 0 insertions, 0 deletions