Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp-ui-doc behaves weird #87

Closed
AmaiKinono opened this issue Feb 26, 2018 · 4 comments
Closed

lsp-ui-doc behaves weird #87

AmaiKinono opened this issue Feb 26, 2018 · 4 comments

Comments

@AmaiKinono
Copy link

lsp-ui-doc works well most of the time, But some times it behaves weird. Here is an example:

screenshot_20180226_182109

The third line is not placed well, being truncated and goes into the left side. The bottom of the screen also shows the comments.

I haven't figured out under which condition will lsp-ui-doc behaves like this.

@ramsayleung
Copy link

I think it is related to lsp-ui-sideline-mode instead of lsp-ui-doc.

@sebastiencs
Copy link
Member

sebastiencs commented Mar 10, 2018

That's lsp-ui-doc.
It's because of the chinese characters, they have a differents width and make the calculation of the doc's position wrong.
I don't know if there is a way to solve that..

To avoid this bug, you should update to emacs 26, it will use a child frame to display documentation

@AmaiKinono
Copy link
Author

@sebastiencs I see, thank you!

@sebastiencs
Copy link
Member

@AmaiKinono The wrong position should be fixed by #104

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

No branches or pull requests

3 participants