Closed tammersaleh closed 5 years ago
I can also trigger it by first typing :new
, and then -
.
It also looks like :split +Dirvish
works fine, which is a good workaround for me.
I also seem to get this error when running :split +Dirvish
from a quickfix location window.
Cannot reproduce. Did you restart vim after running :PlugUpdate
?
Are you sure no other plugins are loaded? :scriptnames
should only show stuff that is shipped with vim.
I tested with Nvim 0.4 and Vim 8.1.1005:
vim -u DEFAULTS -N +":set rtp+=~/.config/nvim/pack/minpac/start/vim-dirvish/" +":runtime plugin/dirvish.vim"
nvim -u NONE +":set rtp+=~/.config/nvim/pack/minpac/start/vim-dirvish/" +":runtime plugin/dirvish.vim"
I can reproduce this with Vim 8.1.1561 on Ubuntu 18.04.
echo "test" > test && vim --clean "+ set packpath+=.vim | packadd vim-dirvish | e test | new | norm -"
Seems to be caused by https://github.com/justinmk/vim-dirvish/commit/d151a9071b0593eca0877e44c2057a1140b9bdfd
I'm experiencing similar issue.
Steps to reproduce:
vim -u DEFAULTS -N +":set rtp+=~/.vim/bundle/vim-dirvish/" +":runtime plugin/dirvish.vim"
:vsplit
:e some-file.txt
C-W l
-
Then this error is shown:
Vim 8.1.1450, macOS 10.14.5
What does this say:
:set hidden?
nohidden
Not sure it affects anything though, because my .vimrc
sets to hidden and I'm able to reproduce described bug anyway.
I've got the same error essentially every time I open a file then:vspl | wincmd l | enew | normal -
.
:set hidden?
returns hidden
for me.
When using the minimal vimrc below (and after running
:PlugUpdate
), the:Dirvish
command works fine, but:new +Dirvish
gives the errorE121: Undefined variable: w:dirvish