How to show autocomplete doc on preview window instead of popup?
There's an option to show the documentation of :LspHover on a preview window instead of a popup,
is there a way to achieve that with the documentation popup shown when selecting autocompletion keywords?
Personally im using this plugin in Android Termux, the autocompletion doc seems to be truncated even after enabling condensed autocomplete menu
putting the doc on a separate panel will be a good option, if there's a way to accomplish it
See :help 'completeopt' which should default to include preview. If this plug-in overrides it, a PR could take care of a corresponding option
tried setting completeopt+=preview but it doesn't seem to work
No chance due to
# autoload/lsp/completion.vim (lines 687-692)
if opt.lspOptions.autoComplete
if lspserver.completionLazyDoc
setbufvar(bnr, '&completeopt', 'menuone,popuphidden,noinsert,noselect')
else
setbufvar(bnr, '&completeopt', 'menuone,popup,noinsert,noselect')
endif
So a pull request for an analog for hoverInPreview is called for
alright thanks, are there any plans for an implementation?