You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed one line code from local kind = entry:get_completion_item().cmp.kind_text to local kind = entry:get_completion_item().kind and this error disappeared.
but I still wonder whether such a change will have some other side effects since I don't find the document of the function get_completion_item and its return value, I would be grateful if someone could give me the location this document and tell me whether my change is correct or not.
The text was updated successfully, but these errors were encountered:
Version confirmation
Following prerequisites
Neovim version
NVIM v0.10.0-dev-134+gab2811746
Operating system/version
macOS 13.3.1
Terminal name/version
iTerms2 Build 3.4.18
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
Expected behavior
this error doesn't occur
Actual behavior
No response
Additional information
I find that this problem is caused by a filter callback function in
cmp.setup
added in #697.I changed one line code from
local kind = entry:get_completion_item().cmp.kind_text
tolocal kind = entry:get_completion_item().kind
and this error disappeared.but I still wonder whether such a change will have some other side effects since I don't find the document of the function
get_completion_item
and its return value, I would be grateful if someone could give me the location this document and tell me whether my change is correct or not.The text was updated successfully, but these errors were encountered: