Trouble with trouble and floating windows #611
resistorsoftware
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added a plugin to my LazyVim plugins, specifically trouble, and the point was to handle windows nicer. The default width of 30 was too skinny and not fun. So I went with a floating bigger window.
This works in that my leader CS combo pops up the results of the LSP finding the definitions I am interested in. What happens next is problematic and I am seeking some help.
I select the file with the definition. The file I selected indeed replaces the buffer I was in, and displays, but it renders underneath the floating LSP results window. The cursor appears to be in the LSP floating window but it is not. It has apparently moved focus to the newly selected buffer, but I see it through the floating Window. So now the floating window is painful to get rid of. I have tried various hjkl key strokes but it is very hit and miss. The only thing that for sure works is clicking the mouse inside the floating window and killing it via q.
DESPERADO HELP
How can I set up trouble so that a selection in the floating window exits the floating window automatically?
Beta Was this translation helpful? Give feedback.
All reactions