-
I use persistence for session management, so that whatever I am doing, I pick it up where I left it off. There seems to be a problem (I think since the last update) I am facing an issue, (not sure, that is why am starting a discussion) lets say I have 4 tabs and 7 different buffers open. I quit neovim, open it later (restored session). Neocodeium (working fine btw) is only making suggestions on one (rarely two) of those buffers (my guess first buffer I opened in the session). no suggestions what so ever if it is a buffer restored with the session (except the one). If however I close a buffer, and open it again, suggestions are coming in. similarly if I close all buffers and reopen them, again working fine. I have commented out opts to start with the default config, same behavior. Never had this issue before, and it is rather inconvenient. anyone seen this. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I have done a lot of changes to the repo lately, so maybe have introduced some new bugs. Create an issue and please describe it better (maybe language barrier, but I haven't got when you have it working and when not). |
Beta Was this translation helpful? Give feedback.
-
It would be good if you can reproduce it with minimal dependencies and add it to issue. -- 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",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
{
"monkoose/neocodeium",
config = function()
require("neocodeium").setup({
-- your setup here
})
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here |
Beta Was this translation helpful? Give feedback.
-
Seems I have found the cause of the problem. Let me try to fix it first. |
Beta Was this translation helpful? Give feedback.
-
Try last commit. Should be fixed. |
Beta Was this translation helpful? Give feedback.
Try last commit. Should be fixed.