Closed p4-k4 closed 9 months ago
Same for me @p4-k4
I've been having this for a while too. Never got round to using the plugin more than once tbh as I can't seem to debug this properly. I have telescope installed, but for some reason it's not being found, or at least, nvim isn't looking for it in the right place for some reason
same issue
I managed to get around this issue by using the config proposed here: https://github.com/jackMort/ChatGPT.nvim/issues/22#issuecomment-1409277074
I believe the issue happens with NVChad only. I tried to install with LunarVim and it worked as expected.
I have just found a work around as preloading telescope.nvim before running ChatGPT command
require('packer').loader("telescope.nvim")
need to be added in init.lua
I the tried the code from the readme, which didn't work.
use({
"jackMort/ChatGPT.nvim",
config = function()
require("chatgpt").setup({
-- optional configuration
})
end,
requires = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
}
})
Then tried a bunch of things, none of which seemed to work. I removed everything back to the way it was above and it worked. What I tried:
opt = true
after = { "nvim-telescope/telescope.nvim" }
After restarting the problem has returned and can't reproduce my earlier fix.
please reopen if issue still exists in newest version
Getting the following on default config.