-
Notifications
You must be signed in to change notification settings - Fork 177
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
There seems to be something wrong with the quickfix window #188
Comments
I too encountered this problem |
I got the same problem. |
Same problem nvim 0.8.1 What helps is to turn the auto_preview off. |
Have this problem as well. Tried some older commits which also have this same problem. |
Same issue here :/ |
Same issue here. |
I just encountered this issue too. To reproduce it:
Notice what happens: Screen.Recording.2023-07-16.at.10.32.37.AM.mov |
See also:
The common thing in all the screen captures is when it says 272694419-2f6e8c52-6e8e-43ea-be52-a30a7a93c4c1.mp4My guess is that this happens whenever there's no exact line number or position associated with a given error, and then Trouble fills in a default value of The troublesome line is marked as "BAD". When the cursor is hovered over it, everything goes haywire and the cursor starts moving right all on its own. |
folke#336. Skip preview for non-existing buffer (`bufnr == 0`). The vim docs say: ``` getqflist() Quickfix list entries with a non-existing buffer number are returned with "bufnr" set to zero (Note: some functions accept buffer number zero for the alternate buffer, you may need to explicitly check for zero). ``` This causes trouble for the "`Trouble`" file section: ![](https://user-images.githubusercontent.com/721196/260180476-286d5945-2f53-4f2c-aedc-af793c0e96db.png) To fix, we simply do: ```lua function View:_preview() ... if item.bufnr == 0 then return end util.debug("preview") ... end ```
…338) Skip preview for non-existing buffer (`bufnr == 0`). The vim docs say: ``` getqflist() Quickfix list entries with a non-existing buffer number are returned with "bufnr" set to zero (Note: some functions accept buffer number zero for the alternate buffer, you may need to explicitly check for zero). ``` This causes trouble for the "`Trouble`" file section: ![](https://user-images.githubusercontent.com/721196/260180476-286d5945-2f53-4f2c-aedc-af793c0e96db.png) To fix, we simply do: ```lua function View:_preview() ... if item.bufnr == 0 then return end util.debug("preview") ... end ```
neovim0.7
os:arch-wsl macos
The cursor moves by itself, and two windows are opened.
The text was updated successfully, but these errors were encountered: