olimorris / persisted.nvim

💾 Simple session management for Neovim with git branching, autoloading and Telescope support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when loading session

latipun7 opened this issue · comments

This plugin error occurred when I tried to load the session. This happened after I updated my neovim and git.

Current neovim (nightly):

NVIM v0.9.0-dev-987+g371a74e4e
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

git version 2.39.2

Error:

E5108: Error executing lua ...site/pack/lazy/opt/persisted.nvim/lua/persisted/init.lua:68: attempt to concatenate field 'branch_separator' (a nil value)
stack traceback:
	...site/pack/lazy/opt/persisted.nvim/lua/persisted/init.lua:68: in function 'get_branch'
	...site/pack/lazy/opt/persisted.nvim/lua/persisted/init.lua:75: in function 'get_current'
	...site/pack/lazy/opt/persisted.nvim/lua/persisted/init.lua:103: in function 'load'
	[string ":lua"]:1: in main chunk
commented

Okay thanks for this. Could you share your config too?

I'm sorry. Closed this as it turns out the error caused by lazy.nvim not loading this plugin on module call. 🙏