will give error if set to `opt = true` in packer.nvim
Closed this issue · 5 comments
DinkyTrady commented
here is my setup for better escape, if i didn't set to opt true, it still give me error
use({"max39757/better-escape.nvim",
opt = true,
event = "InsertCharPre",
config = function()
require("better_escape").setup()
end,
})
it is because my all plugins setup in opt = true
?
max397574 commented
use event="InsertEnter"
DinkyTrady commented
use event="InsertEnter"
@max397574
it will make telescope error
max397574 commented
most likely an issue with your setup
send the error
DinkyTrady commented
@max397574
so i just try to configure my setup again and didn't use telescope extensions
, and make better escape not set as opt plugins
and it work!
i think this better escape can't use Packer
keys like opt, after, event
. i tried with nvim-zh/better-escape.vim too.
max397574 commented
ofc it can
I did it myself
it's a problem with your setup