Questions tagged [previewwindow]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
69 views

How to open folds in a pedit-preview popup window?

I'm displaying a file contents by using :pedit …the-file-path…, to then call popup_setoptions(…the-ID…,#{firstline:anumber}) in order to scroll the popup and highlight/show the desired part of the ...
1
vote
1answer
42 views

How to populate the preview window?

Let me give a bit of context to the question: I need to show a 'prompt' in the preview window when the user makes a selection of an item in a popup window, which is similar to the way the tern-for-...
0
votes
1answer
78 views

How to explicitly open the signature preview window when not completing?

When using <c-x><c-o>, vim opens a signature preview window which is different from the one opened when using :ptag. How to open that one when not completing like when reviewing in ...
2
votes
1answer
486 views

How to create Preview window to display a string?

I'm using a LSP plugin to call a command from the server, and currently it is logging the data using echom. My current code is like this: function! PtypeCallback(result) echom json_encode(a:...
2
votes
1answer
106 views

Enable cursorline only in preview window?

How can I enable 'cursorline' in the preview window? I use :ptag to show the preview and like that it shows several lines, but for short functions or member lists it's hard to see the line containing ...