【发布时间】:2015-05-02 05:11:02
【问题描述】:
“completeopt”选项的文档说:
...
A comma separated list of options for Insert mode completion
|ins-completion|. The supported values are:
...
preview Show extra information about the currently selected
completion in the preview window. Only works in
combination with "menu" or "menuone".
对我来说,这听起来如果设置了“菜单”和“预览”,您总是会看到当前自动完成项目的预览窗口,因此对于 ctags 标签,我希望看到文件的预览,项目所在的位置已定义(就像我在光标下的标签上按 CTRL-W-} 一样)。 但是如果设置的omnifunc支持,这个预览窗口似乎只适用于omni-completion。我怎样才能获得自动完成标签的预览窗口?
【问题讨论】:
标签: vim autocomplete