[Bug] repetition of vertical hints in virtual line
Aman9das opened this issue · comments
I have never seen this before @Aman9das
What does your precognition config look like? can you share it, please? also what neovim version?
-- Plugin configuration
return {
{
"tris203/precognition.nvim",
event = "LazyFile",
opts = function(_, opts)
opts.startVisible = true
opts.showBlankVirtLine = false
return opts
end,
keys = {
{
"<leader>u?",
"<cmd>Precognition toggle<cr>",
desc = "Toggle Precognition",
},
},
},
}
❯ nvim --version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1693350652
Run "nvim -V1 -v" for more info
Thanks for looking into this :)
opts doesnt need to be a function
-- Plugin configuration
return {
{
'tris203/precognition.nvim',
event = 'LazyFile', -- I don't think this is a valid Lazy Event, you probably want VeryLazy
opts = {
startVisible = true,
showBlankVirtLine = false,
},
keys = {
{
'<leader>u?',
'<cmd>Precognition toggle<cr>',
desc = 'Toggle Precognition',
},
},
},
}
The issue stays still? This is my config now..
-- Plugin configuration
return {
{
"tris203/precognition.nvim",
event = "LazyFile",
opts = {
startVisible = true,
showBlankVirtLine = false,
},
keys = {
{
"<leader>u?",
"<cmd>Precognition toggle<cr>",
desc = "Toggle Precognition",
},
},
},
}
I have tried with your config exactly, and I cant reproduce the duplicate hints
It has to be something else within LazyVim conflicting I think
Thanks I'll look into it :)
LazyFile loads only on filetype bufferz not dashboard etc