You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated the plugin to the latest version before submitting this issue
I have searched the existing issues of trouble.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.10.0
Operating system/version
Windows 11 22631
Describe the bug
When both focus and follow are true, and when the cursor is at an item, the cursor in the opened trouble window cannot be at the item position, but at the first row and first column position.
Steps To Reproduce
set focus = true and follow = true
Move the cursor to a variable
run require("trouble").toggle({ mode = "lsp_references" })
Expected Behavior
In the opened trouble window, the cursor can be located at the location of the item.
Repro
vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec= {
{ "folke/trouble.nvim", opts= {} },
-- add any other plugins here
},
})
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10.0
Operating system/version
Windows 11 22631
Describe the bug
When both
focus
andfollow
are true, and when the cursor is at an item, the cursor in the opened trouble window cannot be at the item position, but at the first row and first column position.Steps To Reproduce
focus = true
andfollow = true
require("trouble").toggle({ mode = "lsp_references" })
Expected Behavior
In the opened trouble window, the cursor can be located at the location of the item.
Repro
The text was updated successfully, but these errors were encountered: