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

Hover buffer is cleared immediately #664

Closed
sclu1034 opened this issue Jan 12, 2023 · 0 comments
Closed

Hover buffer is cleared immediately #664

sclu1034 opened this issue Jan 12, 2023 · 0 comments

Comments

@sclu1034
Copy link
Contributor

sclu1034 commented Jan 12, 2023

I cannot replicate it reliably, but it happens pretty much always with my active config, and often enough with this test setup:

kak -n -s test -e 'eval %sh{kak-lsp --kakoune -s $kak_session -vvv --log /tmp/kak-lsp.$kak_session.log}; edit src/main.rs; set buffer filetype rust; lsp-enable; lsp-auto-hover-enable docs'
kak -n -c test -e "rename-client docs"

(you might need to play around with re-opening the docs client and/or enabling other features)

My best guess is that the command edit! -existing -fifo *hover* will arrive after kak-lsp wrote to the fifo, and therefore clears the buffer that already received the hover data.

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

1 participant