Skip to content

Conversation

@Lenbok
Copy link
Contributor

@Lenbok Lenbok commented Apr 6, 2022

This is my attempt to address #695.

As well fixing auto-hide for docs explicitly invoked via lsp-ui-doc-glance, this adds post-command clearing to both lsp-ui-doc-show-with-mouse and lsp-ui-doc-show-with-cursor. That seems consistent to me, so I don't think it presents a problem.

  • Maybe there should be a separate lsp-ui-doc-auto-hide setting to disable auto-hiding for all three of these mechanisms?

Fixes: #695

@Lenbok
Copy link
Contributor Author

Lenbok commented Apr 7, 2022

@yyoncho @ericdallo Would you be able to review this fix?

@Lenbok Lenbok force-pushed the fix/lsp-ui-doc-auto-hide branch from f8d997c to 08fe7df Compare April 12, 2022 06:16
@Lenbok
Copy link
Contributor Author

Lenbok commented Apr 12, 2022

(rebased to master)

@Lenbok
Copy link
Contributor Author

Lenbok commented May 8, 2022

@yyoncho @jcs090218 Is someone able to review / merge this?

@jcs090218
Copy link
Member

Thanks!

@jcs090218 jcs090218 merged commit bc05895 into emacs-lsp:master May 9, 2022
@Lenbok Lenbok deleted the fix/lsp-ui-doc-auto-hide branch May 24, 2022 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lsp-ui-doc-glance auto-hide is not triggering

2 participants