How to reproduce issue
-
Install vim-plug:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
-
launch nvim:
nvim
-
Toggle fern into the screen:
:Fern . -drawer -toggle
-
Make session that will error:
:mksession fern_opened.vim
-
Makes session that will not error:
:Fern . -drawer -toggle
:mksession fern_closed.vim
-
Close nvim:
:q
-
Open nvim:
nvim
-
Load session that won't show error:
:source fern_closed.vim
-
Load session that will error:
:source fern_opened.vim