-
Notifications
You must be signed in to change notification settings - Fork 0
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
Getting an error after adding new item to quicklist and then opening another item #4
Comments
Thanks for raising this issue. May I ask what version of Neovim you are using? When you produce the glitch, is there any Basically, this plugin should not add any extmarks/signs for anything that don't have a Can you provide a minimal config with step by step process to produce these errors please? |
neovim version: v0.9.0 to reproduce:
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
-- add any other plugins here
{
"arsham/listish.nvim",
dependencies = {
"arsham/arshlib.nvim",
-- "nvim-treesitter/nvim-treesitter-textobjects",
},
ft = "qf",
opts = true,
},
{
"nvim-telescope/telescope.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
keys = {
{ "<C-p>", "<cmd>lua require('telescope.builtin').live_grep()<cr>" },
},
},
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
|
I'm afraid I couldn't find the root cause of this bug. My guess is that the Telescope does something with the buffer that is not supposed to, but I can't be sure. |
maybe they populate the qflist in slightly different formats? |
I don't think it is possible. The setqflist has a very specific set of input. |
Hi! I'm getting the following error after I add an item to the quicklist using the default
<leader>qq
mapping. Afterwards, if I navigate to the quicklist and hit on another item I get this error:If I navigate to another quicklist item using
:cnext
or:cprevious
I get another errorI'm also getting a glitched looking buffer of the file afterwards, with "Quickfix Note" appended to the lines that were previously in the quickfix list but not added through this plugin
So I think it's getting confused with items that were already there
The text was updated successfully, but these errors were encountered: