The 2019-08-20 23:14, Bram Moolenaar wrote:
> We can add a popup_getinfo() function, so you can set all the
> properties.  But this may have to be done every time the selection
> changes.  It might work with the already existing CompleteChanged
> autocommand event.  But it's not triggered when only the selected item
> changes.

Could this function then also be used for setting text-property highlights? I
see that it is included in the todo list as a question:

> - Use a popup window for the "info" item of completion instead of using a
>   preview window.  Ideas in issue #4544.
>   How to add highlighting?

Answer: I don't know :D  But I'm looking forward to using it! Using `set
completeopt+=popup` is already much nicer than using the preview window.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20190820223256.GA3611%40KERERU.localdomain.

Raspunde prin e-mail lui