Skip to content

Conversation

xuanduc987
Copy link
Contributor

With let g:lsp_diagnostics_float_cursor = 1 I can't open hover on line with errors.

Using lsp#ui#vim#output#closepreview() to close previous preview window seems to fix it. From reading the code, it seems to be correct to use this function, but I not sure if there are any other reasons for the original code

lsp

@mattn
Copy link
Collaborator

mattn commented Feb 10, 2020

Thanks your contribution. As far as I looked code for little time, current implementation can show hover popup and diagnostics popup both in same time. Using lsp#ui#vim#output#closepreview() closes previous popup. So this change show only one popup. I'm considering how many users want to show both popups.

@prabirshrestha
Copy link
Owner

Closing for now since we can show multiple popup windows. There is a separate task going on to make this easier. vim-jp/vital.vim#748

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants