completion-nvim icon indicating copy to clipboard operation
completion-nvim copied to clipboard

Ultisnips completion error

Open anand-bala opened this issue 5 years ago • 1 comments

Hey @haorenW1025

I love this plugin. Thanks for the great work!

I updated to the current master branch and seem to have found a breaking change in the following line: https://github.com/haorenW1025/completion-nvim/blob/3ad9c316e3e212ca6ec057b0b40769bd4289f3d3/lua/completion.lua#L55

The issue seems to be that complete_item is a nil value, and when you access complete_item.user_data, it issues an exception.

anand-bala avatar May 18 '20 07:05 anand-bala

Thanks for the kind words:)

The issue seems to be that complete_item is a nil value, and when you access complete_item.user_data, it issues an exception.

Hmm normally complete_item will not be nil, also it works fine on my side. Can you provide how to reproduce it so I can find the cause of the issue?

haorenW1025 avatar May 18 '20 07:05 haorenW1025