Mercurial > vim
comparison src/ex_docmd.c @ 17767:c75da1064e33 v8.1.1880
patch 8.1.1880: cannot show extra info for completion in a popup window
commit https://github.com/vim/vim/commit/576a4a6ff14da876d7c4418e5f27e926fcfa8d2a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 18 15:25:17 2019 +0200
patch 8.1.1880: cannot show extra info for completion in a popup window
Problem: Cannot show extra info for completion in a popup window.
Solution: Add the "popup" entry in 'completeopt'.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Aug 2019 15:30:06 +0200 |
parents | a4e488a6655c |
children | 04245f071792 |
comparison
equal
deleted
inserted
replaced
17766:be00d5dad3f5 | 17767:c75da1064e33 |
---|---|
5823 ex_win_close(eap->forceit, win, NULL); | 5823 ex_win_close(eap->forceit, win, NULL); |
5824 return; | 5824 return; |
5825 } | 5825 } |
5826 # ifdef FEAT_TEXT_PROP | 5826 # ifdef FEAT_TEXT_PROP |
5827 // Also when 'previewpopup' is empty, it might have been cleared. | 5827 // Also when 'previewpopup' is empty, it might have been cleared. |
5828 popup_close_preview(); | 5828 popup_close_preview(FALSE); |
5829 # endif | 5829 # endif |
5830 } | 5830 } |
5831 #endif | 5831 #endif |
5832 | 5832 |
5833 /* | 5833 /* |
8612 { | 8612 { |
8613 win_T *curwin_save = curwin; | 8613 win_T *curwin_save = curwin; |
8614 | 8614 |
8615 // Open the preview window or popup and make it the current window. | 8615 // Open the preview window or popup and make it the current window. |
8616 g_do_tagpreview = p_pvh; | 8616 g_do_tagpreview = p_pvh; |
8617 prepare_tagpreview(TRUE); | 8617 prepare_tagpreview(TRUE, TRUE, FALSE); |
8618 | 8618 |
8619 // Edit the file. | 8619 // Edit the file. |
8620 do_exedit(eap, NULL); | 8620 do_exedit(eap, NULL); |
8621 | 8621 |
8622 if (curwin != curwin_save && win_valid(curwin_save)) | 8622 if (curwin != curwin_save && win_valid(curwin_save)) |