We are in a migration process to v6 and struggling with reveal how to use a dynamic set of completion items based on cursor position.
With v5 we used showHint with a callback which was pretty straight forward.
Is there any chance that we can get some working minimal example that demonstrate this case?
It is really hard to connect all the pieces into working code without an example.
NOTE: we need to use this set of items for any language and actually replacing the default set.
Thanks in advance