Closed nyngwang closed 1 year ago
I don't think any variable perfectly tracks the rendering right now. In a few places we do s:GetCurrentCompletionItem()
which tells you if a completion applies to the current text I guess, and you can also see the code for clearing completions in s:ClearCompletion()
. Maybe with those you can piece together what you need.
As title. What I want to achieve is that if it's not visible then I will call
codeium#Complete
, otherwisecodeium#Accept
is called.